mirror of
https://github.com/openSUSE/osem.git
synced 2026-01-27 15:33:22 -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
16 lines
587 B
Ruby
16 lines
587 B
Ruby
class Admin::SupporterLevelsController < ApplicationController
|
|
before_filter :verify_organizer
|
|
|
|
def show
|
|
render :supporter_levels
|
|
end
|
|
|
|
def update
|
|
begin
|
|
@conference.update_attributes!(params[:conference])
|
|
redirect_to(admin_conference_supporter_levels_path(:conference_id => @conference.short_title), :notice => 'Supporter levels were successfully updated.')
|
|
rescue Exception => e
|
|
redirect_to(admin_conference_supporter_levels_path(:conference_id => @conference.short_title), :alert => "Supporter levels update failed: #{e.message}")
|
|
end
|
|
end
|
|
end |