rubocop issues solved
This commit is contained in:
parent
5186dfcb12
commit
5cdedbf9a6
1 changed files with 4 additions and 5 deletions
|
|
@ -9,7 +9,6 @@ module Admin
|
||||||
@commercial = @venue.build_commercial(commercial_params)
|
@commercial = @venue.build_commercial(commercial_params)
|
||||||
authorize! :create, @commercial
|
authorize! :create, @commercial
|
||||||
|
|
||||||
#FIXME redirect to tab#commercial
|
|
||||||
if @commercial.save
|
if @commercial.save
|
||||||
redirect_to edit_admin_conference_venue_path,
|
redirect_to edit_admin_conference_venue_path,
|
||||||
notice: 'Commercial was successfully created.'
|
notice: 'Commercial was successfully created.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue