Class: Decidim::Admin::ContentBlockCell

Inherits:
ViewModel
  • Object
show all
Includes:
IconHelper
Defined in:
decidim-admin/app/cells/decidim/admin/content_block_cell.rb

Constant Summary

Constants included from IconHelper

IconHelper::DEFAULT_RESOURCE_TYPE_ICONS

Instance Method Summary collapse

Methods included from IconHelper

#component_icon, #manifest_icon, #resource_icon, #resource_type_icon, #resource_type_icon_key

Instance Method Details

#content_block_pathObject



15
16
17
# File 'decidim-admin/app/cells/decidim/admin/content_block_cell.rb', line 15

def content_block_path
  raise "#{self.class.name} is expected to implement #content_block_path"
end

#edit_content_block_pathObject



11
12
13
# File 'decidim-admin/app/cells/decidim/admin/content_block_cell.rb', line 11

def edit_content_block_path
  raise "#{self.class.name} is expected to implement #edit_content_block_path"
end