Permalink
Browse files

Fix undefined method error in Sinatra adapter.

  • Loading branch information...
1 parent 309187b commit 2e8613545c277b13e30ad046df730c632972b48d @lukasztackowiak lukasztackowiak committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 2e86135

Please sign in to comment.