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.10.5 app/helpers/page_title_helper.rb
mumuki-laboratory-7.10.4 app/helpers/page_title_helper.rb
mumuki-laboratory-7.10.3 app/helpers/page_title_helper.rb
mumuki-laboratory-7.10.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.10.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.10.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.9.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.9.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.9.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.6 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.5 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.4 app/helpers/page_title_helper.rb
mumuki-laboratory-7.8.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.3 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.7.0 app/helpers/page_title_helper.rb
mumuki-laboratory-7.6.2 app/helpers/page_title_helper.rb
mumuki-laboratory-7.6.1 app/helpers/page_title_helper.rb
mumuki-laboratory-7.6.0 app/helpers/page_title_helper.rb