Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix undefined method error in Sinatra adapter. #299

Merged
1 commit merged into from

2 participants

Łukasz Tackowiak charlie bowman
Łukasz Tackowiak

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

charlie bowman

+1 this fixes the issue

charlie bowman

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

Deleted user ghost merged commit 5eb0267 into from
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. Łukasz Tackowiak
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
2  lib/authlogic/controller_adapters/sinatra_adapter.rb
View
@@ -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.