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:
parent
f19955705f
commit
bc2a311a38
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue