Files
osem/app/controllers/admin/emails_controller.rb
Henne Vogelsang 252e1fe544 Completely rework the navigation
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
2013-06-27 16:58:20 +02:00

14 lines
382 B
Ruby

class Admin::EmailsController < ApplicationController
before_filter :verify_organizer
def update
@conference.email_settings.update_attributes(params[:email_settings])
redirect_to(admin_conference_email_settings_path(@conference.short_title), :notice => 'Settings have been successfully updated.')
end
def show
@settings = @conference.email_settings
end
end