Class: Decidim::Conferences::ConferencesController
- Inherits:
 - 
      ApplicationController
      
        
- Object
 - ApplicationController
 - ApplicationController
 - Decidim::Conferences::ConferencesController
 
 
- Includes:
 - Paginable, ParticipatorySpaceContext
 
- Defined in:
 - app/controllers/decidim/conferences/conferences_controller.rb
 
Overview
A controller that holds the logic to show Conferences in a public layout.
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
      22 23 24 25 26  | 
    
      # File 'app/controllers/decidim/conferences/conferences_controller.rb', line 22 def index raise ActionController::RoutingError, "Not Found" if published_conferences.none? :list, :conference end  | 
  
#show ⇒ Object
      28 29 30  | 
    
      # File 'app/controllers/decidim/conferences/conferences_controller.rb', line 28 def show :read, :conference, conference: current_participatory_space end  | 
  
#user_diploma ⇒ Object
      32 33 34  | 
    
      # File 'app/controllers/decidim/conferences/conferences_controller.rb', line 32 def user_diploma render layout: "decidim/diploma" end  |