mirror of
https://github.com/openSUSE/osem.git
synced 2026-02-07 12:41:08 -05:00
15 lines
404 B
Ruby
15 lines
404 B
Ruby
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 index
|
|
@settings = @conference.email_settings
|
|
end
|
|
end
|