lib/cashier/railtie.rb in cashier-0.2.0 vs lib/cashier/railtie.rb in cashier-0.4.0

- old
+ new

@@ -1,8 +1,9 @@ module Cashier class Railtie < Rails::Railtie initializer 'cashier.initialize' do - ApplicationController.send :include, Cashier::ControllerHelper + ActiveSupport.on_load(:action_controller) do + require 'cashier/application_controller' + end end end -end - +end \ No newline at end of file