Class: Decidim::Assemblies::AssembliesController
- Inherits:
-
Decidim::ApplicationController
- Object
- Decidim::ApplicationController
- Decidim::Assemblies::AssembliesController
- Includes:
- ParticipatorySpaceContext
- Defined in:
- app/controllers/decidim/assemblies/assemblies_controller.rb
Overview
A controller that holds the logic to show Assemblies in a public layout.
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
18 19 20 21 22 |
# File 'app/controllers/decidim/assemblies/assemblies_controller.rb', line 18 def index redirect_to "/404" if published_assemblies.none? :read, Assembly end |
#show ⇒ Object
24 |
# File 'app/controllers/decidim/assemblies/assemblies_controller.rb', line 24 def show; end |