Sha256: f41c37bc98e4ec52e5ba37716363a20d029c353b6fe76681744f4a8edf0d2e9f
Contents?: true
Size: 769 Bytes
Versions: 1
Compression:
Stored size: 769 Bytes
Contents
# typed: strict require 'active_support/all' require 'sorbet-runtime' 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: # titleist: # format: '%{app} | %{page}' # this is the default # application: # title: My App # pages: # index: # title: Home # posts: # show: # title: "Post %{name}" # # @example Rendering the current title # = title_tag module Titleist extend ActiveSupport::Autoload autoload :Title autoload :Controller autoload :Helper end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
titleist-1.0.0 | lib/titleist.rb |