Sha256: 9469fd51370e7492e203db1a426b1e5aac8a0ef72e85ffea835011ba7f15247a

Contents?: true

Size: 405 Bytes

Versions: 6

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module MetaTags
  class Railtie < Rails::Railtie
    initializer "meta_tags.setup_action_controller" do
      ActiveSupport.on_load :action_controller do
        include MetaTags::ControllerHelper
      end
    end

    initializer "meta_tags.setup_action_view" do
      ActiveSupport.on_load :action_view do
        include MetaTags::ViewHelper
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
meta-tags-2.22.1 lib/meta_tags/railtie.rb
meta-tags-2.22.1.rc1 lib/meta_tags/railtie.rb
meta-tags-2.22.0 lib/meta_tags/railtie.rb
meta-tags-2.21.0 lib/meta_tags/railtie.rb
meta-tags-2.20.0 lib/meta_tags/railtie.rb
meta-tags-2.19.0 lib/meta_tags/railtie.rb