Sha256: 4d19c8d41be22523a72d6a3dc15db9a0f0d4593392f5bfc2a5822fa8e68a389a

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

require 'action_controller'
require 'action_view'

# MetaTags gem namespace.
module MetaTags
  # Returns MetaTags gem configuration.
  #
  def self.config
    @@config ||= Configuration.new
  end

  # Configures MetaTags gem.
  #
  # @yield [Configuration] configuration object.
  # @example
  #
  #   MetaTags.configure do |config|
  #     # config.title_limit = 100
  #   end
  def self.configure
    yield config
  end
end

require 'meta_tags-rails/version'

require 'meta_tags-rails/configuration'
require 'meta_tags-rails/controller_helper'
require 'meta_tags-rails/meta_tags_collection'
require 'meta_tags-rails/renderer'
require 'meta_tags-rails/tag'
require 'meta_tags-rails/content_tag'
require 'meta_tags-rails/text_normalizer'
require 'meta_tags-rails/view_helper'

ActionView::Base.send :include, MetaTags::ViewHelper
ActionController::Base.send :prepend, MetaTags::ControllerHelper

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
meta_tags-rails-1.1.1 lib/meta_tags-rails.rb
meta_tags-rails-1.1.0 lib/meta_tags-rails.rb