Fixes Hound CI violations

This commit is contained in:
Chrisbr 2014-04-28 21:42:09 +02:00
parent 169fab5c31
commit 8154e6f72c
6 changed files with 44 additions and 32 deletions

View file

@ -7,11 +7,13 @@ class Admin::RoomsController < ApplicationController
def update
if @conference.update_attributes(params[:conference])
redirect_to(admin_conference_rooms_path(:conference_id => @conference.short_title), :notice => 'Rooms were successfully updated.')
redirect_to(admin_conference_rooms_path(
conference_id: @conference.short_title),
notice: 'Rooms were successfully updated.')
else
redirect_to(admin_conference_rooms_path(:conference_id => @conference.short_title), :notice => 'Room update failed.')
redirect_to(admin_conference_rooms_path(
conference_id: @conference.short_title),
notice: 'Room update failed.')
end
end
end