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,14 +1,16 @@
|
|||
class Admin::EmailsController < ApplicationController
|
||||
before_filter :verify_organizer
|
||||
module Admin
|
||||
class Admin::EmailsController < ApplicationController
|
||||
before_filter :verify_organizer
|
||||
|
||||
def update
|
||||
@conference.email_settings.update_attributes(params[:email_settings])
|
||||
redirect_to(admin_conference_emails_path(
|
||||
@conference.short_title),
|
||||
notice: 'Settings have been successfully updated.')
|
||||
end
|
||||
def update
|
||||
@conference.email_settings.update_attributes(params[:email_settings])
|
||||
redirect_to(admin_conference_emails_path(
|
||||
@conference.short_title),
|
||||
notice: 'Settings have been successfully updated.')
|
||||
end
|
||||
|
||||
def index
|
||||
@settings = @conference.email_settings
|
||||
def index
|
||||
@settings = @conference.email_settings
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue