Sha256: 2830f0029c827da1e8459b998ee6103f8ddf5dc6addb97eeafe11979e5a094ed

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

module BetterHelpers
  class Railtie < Rails::Railtie

    initializer "better_helpers.set_configs" do |app|
      ActiveSupport.on_load(:action_controller) do
        ActionController::Base.send(:include, BetterHelpers::Railties::Filter)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
better_helpers-0.1.3 lib/better_helpers/railtie.rb