Sha256: 3556c894a8aa4d1112356684788a64ec43130f3dc0f25051f5eccb2a45031fc9

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 Bytes

Contents

require 'active_support/all'

require 'titleist/version'
require 'titleist/engine'

# Serves standardized titles throughout your +Rails+ application,
# leveraging +I18n+ locale configuration and view helpers to make
# defining and presenting titles in any way you see fit as simple as
# possible.
#
# @example Setting a title
#   en:
#     titles:
#       application: My App
#       format: '%{app} | %{page}'
#       pages:
#         index: Home
#       posts:
#         index: All Posts
#         show: "Post %{name}"
#         new: New Post
#
# @example Rendering the current title
#   = title_tag
module Titleist
  extend ActiveSupport::Autoload

  autoload :Title
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
titleist-0.1.1 lib/titleist.rb
titleist-0.1.0 lib/titleist.rb