lib/jwt_keeper/engine.rb in jwt_keeper-2.0.0 vs lib/jwt_keeper/engine.rb in jwt_keeper-3.0.0
- old
+ new
@@ -3,10 +3,10 @@
module JWTKeeper
# The Sorcery engine takes care of extending ActiveRecord (if used) and ActionController,
# With the plugin logic.
class Engine < ::Rails::Engine
- initializer 'extend Controller with keeper' do |_app|
+ initializer 'extend Controller with jwt_keeper' do |_app|
ActionController::Base.send(:include, JWTKeeper::Controller)
end
end
end