mirror of
https://github.com/openSUSE/osem.git
synced 2026-02-19 07:28:20 -05:00
Get rid of the admin layout Get rid of the navbar custom style, use bootstrap-sass variables instead Get rid of all the scaffold files
18 lines
500 B
Ruby
18 lines
500 B
Ruby
class Admin::RoomsController < ApplicationController
|
|
before_filter :verify_organizer
|
|
|
|
def show
|
|
render :rooms_list
|
|
end
|
|
|
|
def update
|
|
if @conference.update_attributes(params[:conference])
|
|
redirect_to(admin_conference_rooms_list_path(:conference_id => @conference.short_title), :notice => 'Rooms were successfully updated.')
|
|
else
|
|
redirect_to(admin_conference_rooms_list_path(:conference_id => @conference.short_title), :notice => 'Room update failed.')
|
|
end
|
|
|
|
end
|
|
|
|
end
|