Skip to content
Browse files

Merge pull request #299 from lukasztackowiak/master

Fix undefined method error in Sinatra adapter.
  • Loading branch information...
2 parents 28fd9da + 2e86135 commit 5eb02676c8305029f2534f6a643fe9ff3cc9d9bc @binarylogic committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic/controller_adapters/sinatra_adapter.rb
2 lib/authlogic/controller_adapters/sinatra_adapter.rb
@@ -58,4 +58,4 @@ def self.included(klass)
-Sinatra::Request.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)
+Sinatra::Base.send(:include, Authlogic::ControllerAdapters::SinatraAdapter::Adapter::Implementation)

0 comments on commit 5eb0267

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