Class: Decidim::DecidimAwesome::BlankComponentController
- Inherits:
-
Components::BaseController
- Object
- Components::BaseController
- Decidim::DecidimAwesome::BlankComponentController
- Defined in:
- app/controllers/decidim/decidim_awesome/blank_component_controller.rb
Overview
Abstract component class for components without any admin controllers (only settings)
Direct Known Subclasses
IframeComponent::IframeController, MapComponent::MapController
Instance Method Summary collapse
-
#settings ⇒ Object
just redirects to settings.
Instance Method Details
#settings ⇒ Object
just redirects to settings
8 9 10 |
# File 'app/controllers/decidim/decidim_awesome/blank_component_controller.rb', line 8 def settings redirect_to EngineRouter.admin_proxy(current_component.participatory_space).edit_component_path(id: current_component) end |