diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-08-16 12:54:55 +0300 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-08-16 12:59:10 +0300 |
commit | f898a47e146391d869eeade989143513fb5c4ed0 (patch) | |
tree | 1293c899c334e1ddb64a23526f8c8eb4e94b1616 /app/controllers | |
parent | 2193ae222b3337f03c18dd7d27408a1b138c2f92 (diff) |
Fix a missed `before_action` for `AutocompleteController`.
- `#find_users` depends on a project being loaded.
- Missed adding this in 2193ae222b3337f03c18dd7d27408a1b138c2f92
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/autocomplete_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/autocomplete_controller.rb b/app/controllers/autocomplete_controller.rb index 441030fb545..e1641ba6265 100644 --- a/app/controllers/autocomplete_controller.rb +++ b/app/controllers/autocomplete_controller.rb @@ -1,5 +1,6 @@ class AutocompleteController < ApplicationController skip_before_action :authenticate_user!, only: [:users] + before_action :load_project, only: [:users] before_action :find_users, only: [:users] def users |