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
This commit is contained in:
Henne Vogelsang 2013-06-27 16:58:20 +02:00 committed by Henne Vogelsang
parent 2af8792495
commit 252e1fe544
47 changed files with 179 additions and 252 deletions

View file

@ -1,6 +1,5 @@
class Admin::ConferenceController < ApplicationController
before_filter :verify_organizer
layout "admin"
def index
@conferences = Conference.all
@ -31,6 +30,7 @@ class Admin::ConferenceController < ApplicationController
end
def show
@conferences = Conference.all
@conference = Conference.find_all_by_short_title(params[:id]).first
respond_to do |format|
format.html