Fix commercial option for users in dashboard#show #1390

This commit is contained in:
nasia 2017-04-23 13:13:56 +03:00 committed by Stella Rouzi
parent be33f345a1
commit a6e8283bcf
2 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,6 @@ module Admin
@commercials = @conference.commercials
@commercial = @conference.commercials.build
authorize! :create, @conference.commercials.new
end
def create