Module: Homeland::Wiki::ApplicationHelper
- Defined in:
- app/helpers/homeland/wiki/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#page_title_tag(page) ⇒ Object
5 6 7 8 |
# File 'app/helpers/homeland/wiki/application_helper.rb', line 5 def page_title_tag(page) return '' if page.blank? link_to(page.title, page_path(page.slug), class: 'page') end |