Sha256: e7917521daf1d3e7cc640b34ebdd9e0e9f8f52150686c4b604a01bbbcd1a8407

Contents?: true

Size: 228 Bytes

Versions: 7

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module PageMeta
  class Railtie < Rails::Railtie
    initializer "page_meta" do
      ActionController::Base.include Helpers
      ActionController::Base.helper_method :page_meta
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
page_meta-2.0.1 lib/page_meta/railtie.rb
page_meta-2.0.0 lib/page_meta/railtie.rb
page_meta-1.1.0 lib/page_meta/railtie.rb
page_meta-1.0.0 lib/page_meta/railtie.rb
page_meta-0.2.0 lib/page_meta/railtie.rb
page_meta-0.1.3 lib/page_meta/railtie.rb
page_meta-0.1.2 lib/page_meta/railtie.rb