Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dont need to set a constant here

  • Loading branch information...
commit a72ed4949986aa935d00fec92727d819a6b4aa96 1 parent 769744c
@binarylogic authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/authlogic.rb
View
8 lib/authlogic.rb
@@ -1,6 +1,6 @@
require "active_record"
-AUTHLOGIC_PATH = File.dirname(__FILE__) + "/authlogic/"
+path = File.dirname(__FILE__) + "/authlogic/"
[
"i18n",
@@ -57,8 +57,8 @@
"session/validation",
"session/base"
].each do |library|
- require AUTHLOGIC_PATH + library
+ require path + library
end
-require AUTHLOGIC_PATH + "controller_adapters/rails_adapter" if defined?( Rails )
-require AUTHLOGIC_PATH + "controller_adapters/sinatra_adapter" if defined?( Sinatra )
+require path + "controller_adapters/rails_adapter" if defined?( Rails )
+require path + "controller_adapters/sinatra_adapter" if defined?( Sinatra )
Please sign in to comment.
Something went wrong with that request. Please try again.