Skip to content

Commit

Permalink
Removed unnecessary line.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhickman84 committed Dec 19, 2010
1 parent 3eb4182 commit a72561f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/forgery.rb
Expand Up @@ -31,6 +31,5 @@
# Loading rails forgeries to override current forgery methods and add new forgeries # Loading rails forgeries to override current forgery methods and add new forgeries
# Only run this for Rails < 3.0 since we need to use a Railtie to initialize >= 3.0 # Only run this for Rails < 3.0 since we need to use a Railtie to initialize >= 3.0
Forgery.load_from! "#{Forgery.rails_root}/lib/forgery" if Forgery.rails? && Rails::VERSION::STRING < "3.0.0" Forgery.load_from! "#{Forgery.rails_root}/lib/forgery" if Forgery.rails? && Rails::VERSION::STRING < "3.0.0"
Forgery::FileWriter.write_to! "#{Forgery.rails_root}/lib/forgery" if Forgery.rails? && Rails::VERSION::STRING < "3.0.0"
# Include our Railtie if Rails >= 3.0.0 # Include our Railtie if Rails >= 3.0.0
require 'forgery/forgery_railtie' if Forgery.rails? && Rails::VERSION::STRING >= "3.0.0" require 'forgery/forgery_railtie' if Forgery.rails? && Rails::VERSION::STRING >= "3.0.0"

0 comments on commit a72561f

Please sign in to comment.