mirror of
https://github.com/openSUSE/osem.git
synced 2026-04-26 17:58:34 -04:00
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
24 lines
600 B
Ruby
24 lines
600 B
Ruby
class Admin::VenueController < ApplicationController
|
|
before_filter :verify_organizer
|
|
|
|
def index
|
|
end
|
|
|
|
def update
|
|
@venue = @conference.venue
|
|
venue_params = params[:venue]
|
|
@venue.name = venue_params[:name]
|
|
@venue.address= venue_params[:address]
|
|
@venue.website = venue_params[:website]
|
|
@venue.description = venue_params[:description]
|
|
@venue.save
|
|
redirect_to(admin_conference_venue_info_path(:conference_id => @conference.short_title), :notice => 'Venue was successfully updated.')
|
|
end
|
|
|
|
def show
|
|
@venue = @conference.venue
|
|
render :venue_info
|
|
end
|
|
|
|
end
|