Sha256: 93eeeace03791924c7533a4e869b42edafa3b35dcd19810f51c6c2e96bc8ee75

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

require 'rails'

module Titleizer
  class Railtie < ::Rails::Railtie
    initializer 'titleizer' do
      ActiveSupport.on_load(:action_view) do
        ActionView::Base.send :include, Titleizer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
titleizer-0.1.0 lib/titleizer/railtie.rb