fix projects autocomplete for real user
This commit is contained in:
parent
348b76024c
commit
8ba75fe48c
|
@ -5,7 +5,7 @@ class Platforms::ProductsController < Platforms::BaseController
|
|||
skip_before_filter :authenticate_user!, :only => [:index, :show] if APP_CONFIG['anonymous_access']
|
||||
|
||||
load_and_authorize_resource :platform
|
||||
load_and_authorize_resource :product, :through => :platform
|
||||
load_and_authorize_resource :product, :through => :platform, :except => :autocomplete_project
|
||||
before_filter :set_project, :only => [:create, :update]
|
||||
|
||||
def index
|
||||
|
|
Loading…
Reference in New Issue