Module: PageTitleHelper
- Defined in:
- app/helpers/page_title_helper.rb
Instance Method Summary collapse
Instance Method Details
#page_title(subject) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'app/helpers/page_title_helper.rb', line 2 def page_title(subject) name = "Mumuki#{Organization.current.title_suffix}" if subject && !subject.new_record? "#{subject.friendly} - #{name}" else "#{name} - #{t :mumuki_catchphrase}" end end |