Sha256: dfa9c0d0ac55d750702a804349ba6081c1b6ad07aad362f84670a361e493c065

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

module ActionControl
	class Railtie < Rails::Railtie
		initializer 'action_control.insert_into_action_controller' do
			ActiveSupport.on_load :action_controller do
				::ActionController::Base.include(ActionControl)
			end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
action_control-0.3 lib/action_control/railtie.rb
action_control-0.2 lib/action_control/railtie.rb
action_control-0.1 lib/action_control/railtie.rb