mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
18 lines
524 B
Ruby
18 lines
524 B
Ruby
class Admin::TracksController < ApplicationController
|
|
before_filter :verify_organizer
|
|
layout "admin"
|
|
|
|
def show
|
|
render :tracks_list
|
|
end
|
|
|
|
def update
|
|
if @conference.update_attributes(params[:conference])
|
|
redirect_to(admin_conference_tracks_list_path(:conference_id => @conference.short_title), :notice => 'Tracks were successfully updated.')
|
|
else
|
|
redirect_to(admin_conference_tracks_list_path(:conference_id => @conference.short_title), :notice => 'Tracks update failed.')
|
|
end
|
|
|
|
end
|
|
|
|
end
|