diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index 8f51a2b..1cecbe3 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -15,6 +15,8 @@ class ConferencesController < ApplicationController def view set_conference + do_403 unless @this_conference.is_public || @this_conference.host?(current_user) + @workshops = Workshop.where(:conference_id => @conference.id) if @this_conference.workshop_schedule_published