Updated filename of writing seminars to writing conferences
This commit is contained in:
parent
69cf567944
commit
40e1ee751e
|
@ -1,26 +0,0 @@
|
||||||
class Panel::PersonalConference::FrontEnd::WritingConferencesController < OrbitWidgetController
|
|
||||||
|
|
||||||
def initialize
|
|
||||||
super
|
|
||||||
@app_title = 'personal_conference'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
def index
|
|
||||||
|
|
||||||
@writing_conferences = WritingConference.desc(:year).page(params[:page]).per(10)
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
# GET /writing_conferences/1
|
|
||||||
# GET /writing_conferences/1.xml
|
|
||||||
def show
|
|
||||||
@writing_conference = WritingConference.find(params[:id])
|
|
||||||
|
|
||||||
@conference_paper_types = ( !@writing_conference.conference_paper_types.blank? ? @writing_conference.conference_paper_types.collect{|x| x.title}.join(', ') : nil)
|
|
||||||
@conference_author_types = ( !@writing_conference.conference_author_types.blank? ? @writing_conference.conference_author_types.collect{|x| x.title}.join(', ') : nil)
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
end
|
|
Loading…
Reference in New Issue