Sha256: 7356c12fe5e3228e084b5a237457f49ffa217ca1ef9574ef4d99590a73591450

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

require 'rails/railtie'

module Rails
  module Prg
    class Railtie < Rails::Railtie
      initializer "rails-prg.action_controller" do
        ActiveSupport.on_load(:action_controller) do
          include Rails::Prg::RedirectedObjectController
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-prg-0.1.1 lib/rails/prg/railtie.rb
rails-prg-0.1.0 lib/rails/prg/railtie.rb