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:
Timothy Andrew 2016-08-16 15:24:55 +05:30
parent 2193ae222b
commit f898a47e14

View file

@ -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