mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1c59ffca5c
When there is a single scaffold in the routes.rb with no other lines then revoking/destroying it will create a routes.rb file with a syntax error. This is because the sentinel for the Thor `route` action didn't include the newline but the logged route code did. The fix is to add the newline to the sentinel and remove it from the the logged route code. Fixes #15913. |
||
---|---|---|
.. | ||
application | ||
commands | ||
configuration | ||
fixtures | ||
generators | ||
isolation | ||
railties | ||
abstract_unit.rb | ||
app_rails_loader_test.rb | ||
backtrace_cleaner_test.rb | ||
code_statistics_calculator_test.rb | ||
engine_test.rb | ||
env_helpers.rb | ||
generators_test.rb | ||
initializable_test.rb | ||
path_generation_test.rb | ||
paths_test.rb | ||
rack_logger_test.rb | ||
rails_info_controller_test.rb | ||
rails_info_test.rb | ||
test_info_test.rb | ||
version_test.rb |