Keynote Speakers implemented

This commit is contained in:
Gopesh Tulsyan 2014-09-15 19:02:02 +05:30
parent 1106f4e227
commit 67ea900dc3
4 changed files with 22 additions and 1 deletions

View file

@ -1,7 +1,9 @@
class ConferenceController < ApplicationController
load_and_authorize_resource find_by: :short_title
def show; end
def show
@keynote_speakers = @conference.keynote_speakers
end
def subscribe
conference = Conference.find_by_short_title(params[:id])