Class: Decidim::Votings::ContentBlocks::HeroCell

Inherits:
ContentBlocks::ParticipatorySpaceHeroCell
  • Object
show all
Defined in:
app/cells/decidim/votings/content_blocks/hero_cell.rb

Instance Method Summary collapse

Instance Method Details

#has_hashtag?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/cells/decidim/votings/content_blocks/hero_cell.rb', line 9

def has_hashtag?
  false
end

#subtitleObject



13
14
15
# File 'app/cells/decidim/votings/content_blocks/hero_cell.rb', line 13

def subtitle
  "#{start_text}#{end_text}"
end