Skip to content
Browse files

Erroneously including Authlogic::ControllerAdapters::SinatraAdapter::…

…Adapter::Implementation to Sinatra::Request, should use Sinatra::Base
  • Loading branch information...
1 parent 8a76542 commit 5b3097ed5400745a26dd710784af9f4de44ab8de @winton committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic/controller_adapters/sinatra_adapter.rb
View
2 lib/authlogic/controller_adapters/sinatra_adapter.rb
@@ -58,4 +58,4 @@ def self.included(klass)
end
end
-Sinatra::Request.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)
+Sinatra::Base.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)

0 comments on commit 5b3097e

Please sign in to comment.
Something went wrong with that request. Please try again.