Sha256: d050a77d70b2a66791a6d5cbeaf2960d0d796c32f2e98dc0deb466630471daa1

Contents?: true

Size: 294 Bytes

Versions: 25

Compression:

Stored size: 294 Bytes

Contents

require 'rails'
require 'meta_manager'

module MetaManager #:nodoc:
  class Engine < ::Rails::Engine #:nodoc:
    initializer "meta_manager.setup" do
      ActiveSupport.on_load :action_controller do
        ActionController::Base.send :include, MetaManager::Helper
      end
    end
  end
end

Version data entries

25 entries across 20 versions & 2 rubygems

Version Path
meta_manager-0.0.5 lib/meta_manager/engine.rb
meta_manager-0.0.4 lib/meta_manager/engine.rb
meta_manager-0.0.3 lib/meta_manager/engine.rb
meta_manager-0.0.2 lib/meta_manager/engine.rb
meta_manager-0.0.1 lib/meta_manager/engine.rb