Class: Decidim::Admin::AsideMenuPresenter
- Inherits:
-
MenuPresenter
- Object
- MenuPresenter
- Decidim::Admin::AsideMenuPresenter
- Defined in:
- app/presenters/decidim/admin/aside_menu_presenter.rb
Instance Method Summary collapse
Instance Method Details
#render(render_options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/presenters/decidim/admin/aside_menu_presenter.rb', line 6 def render( = {}, &) styles = %w(item_show__content-menu) content_tag :div, class: styles.join(" ") do output = [] output.push render_title() if .fetch(:title, false) output.push (&) safe_join(output) end end |