Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix undefined method error in Sinatra adapter. #299

Merged
1 commit merged into from

2 participants

@lukasztackowiak

Resolve problem with Sinatra which exists from long time (for example issue #80) but looks like nobody create pull request before.

@varchar

+1 this fixes the issue

@varchar

This is an old issue and breaks rails apps that use authlogic and resque

@ghost ghost merged commit 5eb0267 into binarylogic:master
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 20, 2012
  1. @lukasztackowiak
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.