add highlights and fix cfp in splashpage

This commit is contained in:
Stella Rouzi 2014-12-08 18:08:21 +02:00 committed by Stella
parent 8e25338436
commit ecfc348ea8
17 changed files with 111 additions and 32 deletions

View file

@ -113,6 +113,9 @@ module Admin
if params.has_key? :difficulty_level_id
@event.update_attribute(:difficulty_level_id, params[:difficulty_level_id])
end
if params.has_key? :is_highlight
@event.update_attribute(:is_highlight, params[:is_highlight])
end
if @event.submitter.update_attributes!(params[:user]) && @event.
update_attributes!(params[:event])

View file

@ -7,9 +7,7 @@ class ConferenceController < ApplicationController
@antiquated = @conferences - @current
end
def show
@keynote_speakers = @conference.keynote_speakers
end
def show; end
def schedule
@rooms = @conference.rooms