Class: Decidim::Meetings::LiveEventsController
- Inherits:
 - 
      ApplicationController
      
        
- Object
 - Components::BaseController
 - ApplicationController
 - Decidim::Meetings::LiveEventsController
 
 
- Includes:
 - PollsResources
 
- Defined in:
 - app/controllers/decidim/meetings/live_events_controller.rb
 
Overview
Exposes the live event of the meeting
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
      14 15 16 17 18 19 20 21  | 
    
      # File 'app/controllers/decidim/meetings/live_events_controller.rb', line 14 def show raise ActionController::RoutingError, "Not Found" unless meeting return if allowed_for_current_user? flash[:alert] = I18n.t("meeting.not_allowed", scope: "decidim.meetings") redirect_to(ResourceLocatorPresenter.new(meeting).index) end  |