Class: Decidim::ParticipatoryProcesses::ContentBlockCell
- Inherits:
-
Admin::ContentBlockCell
- Object
- Admin::ContentBlockCell
- Decidim::ParticipatoryProcesses::ContentBlockCell
- Defined in:
- app/cells/decidim/participatory_processes/content_block_cell.rb
Instance Method Summary collapse
- #content_block_path ⇒ Object
- #decidim_participatory_processes ⇒ Object
- #edit_content_block_path ⇒ Object
Instance Method Details
#content_block_path ⇒ Object
12 13 14 |
# File 'app/cells/decidim/participatory_processes/content_block_cell.rb', line 12 def content_block_path decidim_participatory_processes.participatory_process_landing_page_content_block_path(scoped_resource, model) end |
#decidim_participatory_processes ⇒ Object
16 17 18 |
# File 'app/cells/decidim/participatory_processes/content_block_cell.rb', line 16 def decidim_participatory_processes Decidim::ParticipatoryProcesses::AdminEngine.routes.url_helpers end |
#edit_content_block_path ⇒ Object
8 9 10 |
# File 'app/cells/decidim/participatory_processes/content_block_cell.rb', line 8 def edit_content_block_path decidim_participatory_processes.edit_participatory_process_landing_page_content_block_path(scoped_resource, model) end |