Fix a missed before_action
for AutocompleteController
.
- `#find_users` depends on a project being loaded.
- Missed adding this in 2193ae222b
This commit is contained in:
parent
2193ae222b
commit
f898a47e14
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue