Class: Decidim::Conferences::RegistrationTypesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Decidim::Conferences::RegistrationTypesController
- Includes:
- ParticipatorySpaceContext
- Defined in:
- app/controllers/decidim/conferences/registration_types_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
10 11 12 13 14 |
# File 'app/controllers/decidim/conferences/registration_types_controller.rb', line 10 def index raise ActionController::RoutingError, "No registration types for this conference " if registration_types.empty? && current_participatory_space.registrations_enabled :list, :registration_types end |