diff --git a/app/controllers/writing_conferences_controller.rb b/app/controllers/writing_conferences_controller.rb deleted file mode 100644 index 939f5c9..0000000 --- a/app/controllers/writing_conferences_controller.rb +++ /dev/null @@ -1,6 +0,0 @@ -class WritingConferencesController - def show - writing_conference = WritingConference.find_by(:uid=>param[:uid]) - - end -end \ No newline at end of file diff --git a/app/models/writing_conference_intro.rb b/app/models/writing_conference_intro.rb index 4a1bd75..07a0cff 100644 --- a/app/models/writing_conference_intro.rb +++ b/app/models/writing_conference_intro.rb @@ -1,10 +1,2 @@ -class WritingConferenceIntro - include Mongoid::Document - include Mongoid::Timestamps - - belongs_to :member_profile - - field :text, localize: true - field :display_intro, :type => Boolean, :default => true - field :display_conference_list, :type => Boolean, :default => true +class WritingConferenceIntro < PersonalPluginIntro end diff --git a/app/views/admin/writing_conferences/frontend_setting.html.erb b/app/views/admin/writing_conferences/frontend_setting.html.erb index 6e99d0f..de2fd5a 100644 --- a/app/views/admin/writing_conferences/frontend_setting.html.erb +++ b/app/views/admin/writing_conferences/frontend_setting.html.erb @@ -34,8 +34,8 @@