mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
enable style ClassAndModuleChildren
This commit is contained in:
parent
2f814c7320
commit
1c1391c69e
15 changed files with 475 additions and 448 deletions
|
|
@ -1,15 +1,17 @@
|
|||
class Admin::SocialEventsController < ApplicationController
|
||||
before_filter :verify_organizer
|
||||
module Admin
|
||||
class SocialEventsController < ApplicationController
|
||||
before_filter :verify_organizer
|
||||
|
||||
def show
|
||||
render :social_events_list
|
||||
end
|
||||
def show
|
||||
render :social_events_list
|
||||
end
|
||||
|
||||
def update
|
||||
if @conference.update_attributes(params[:conference])
|
||||
redirect_to(admin_conference_social_events_path(conference_id: @conference.short_title), notice: 'Social events were successfully updated.')
|
||||
else
|
||||
redirect_to(admin_conference_social_events_path(conference_id: @conference.short_title), notice: 'Social events update failed.')
|
||||
def update
|
||||
if @conference.update_attributes(params[:conference])
|
||||
redirect_to(admin_conference_social_events_path(conference_id: @conference.short_title), notice: 'Social events were successfully updated.')
|
||||
else
|
||||
redirect_to(admin_conference_social_events_path(conference_id: @conference.short_title), notice: 'Social events update failed.')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue