Class: Decidim::FooterTopicsCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::FooterTopicsCell
- Defined in:
- app/cells/decidim/footer_topics_cell.rb
Overview
Topics and their corresponding pages are mapped out to the footer of the layout.
Example:
cell("decidim/footer_topics", nil)
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
14 15 16 17 18 |
# File 'app/cells/decidim/footer_topics_cell.rb', line 14 def show return if topics.blank? render end |