1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Rails is going to load the routes anyway, so we don't need this.

This commit is contained in:
José Valim 2011-09-24 03:13:39 +03:00
parent f19955705f
commit bc2a311a38

View file

@ -11,7 +11,7 @@ module Devise
end
# Force routes to be loaded if we are doing any eager load.
config.before_eager_load { |app| app.reload_routes! unless ENV["RAILS_ASSETS_PRECOMPILE"] }
config.before_eager_load { |app| app.reload_routes! }
initializer "devise.url_helpers" do
Devise.include_helpers(Devise::Controllers)