lib/authority/railtie.rb in authority-0.2.0 vs lib/authority/railtie.rb in authority-0.3.0
- old
+ new
@@ -2,10 +2,10 @@
module Authority
class Railtie < ::Rails::Railtie
initializer "authority.controller" do
- ApplicationController.send(:include, Authority::Controller)
+ ActionController::Base.send(:include, Authority::Controller)
end
end
end