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