Permalink
Browse files

dont need to set a constant here

  • Loading branch information...
1 parent 769744c commit a72ed4949986aa935d00fec92727d819a6b4aa96 @binarylogic committed Dec 9, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/authlogic.rb
View
@@ -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 )

0 comments on commit a72ed49

Please sign in to comment.