Sha256: 8d9a071a2d2bd5dc2824328eb9e0ce86e142cc7db4a40cf43a34d90be206fb36

Contents?: true

Size: 253 Bytes

Versions: 59

Compression:

Stored size: 253 Bytes

Contents

module PageTitleHelper
  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
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
mumuki-laboratory-7.5.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.5.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.5.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.4.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.4.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.4.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.3.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.3.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.2.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.1.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.12 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.11 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.10 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.9 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.8 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.7 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.6 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.5 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.4 app/helpers/page_title_helper.rb
mumuki-laboratory-7.0.3 app/helpers/page_title_helper.rb