lib/forgery/forgery_railtie.rb in forgery-0.3.9 vs lib/forgery/forgery_railtie.rb in forgery-0.3.10
- old
+ new
@@ -1,9 +1,9 @@
require 'forgery'
require 'rails'
class ForgeryRailtie < Rails::Railtie
- to_prepare do
+ config.to_prepare do
Forgery.load_from! "#{Rails.root}/lib/forgery"
end
rake_tasks do
namespace :forgery do