Skip to content

Commit

Permalink
Rails is going to load the routes anyway, so we don't need this.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Sep 24, 2011
1 parent f199557 commit bc2a311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Engine < ::Rails::Engine
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)
Expand Down

0 comments on commit bc2a311

Please sign in to comment.