lib/jwt_keeper/engine.rb in jwt_keeper-3.0.1 vs lib/jwt_keeper/engine.rb in jwt_keeper-3.1.0

- old
+ new

@@ -1,10 +1,9 @@ require 'jwt_keeper' require 'rails' module JWTKeeper - # The Sorcery engine takes care of extending ActiveRecord (if used) and ActionController, - # With the plugin logic. + # Includes JWTKeeper into ActionController class Engine < ::Rails::Engine initializer 'extend Controller with jwt_keeper' do |_app| ActionController::Base.send(:include, JWTKeeper::Controller) end end