diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2016-01-06 12:32:19 +0000 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2016-01-07 06:35:40 -0500 |
commit | ce13f7910513ae595061a698fc069f17b8479f22 (patch) | |
tree | 2e18519bbb849a9267faf98831295eaaff758e8d /actionview/test/actionpack | |
parent | c02b85614c6c497ea1fd4c33415335621b090f29 (diff) | |
download | rails-ce13f7910513ae595061a698fc069f17b8479f22.tar.gz rails-ce13f7910513ae595061a698fc069f17b8479f22.tar.bz2 rails-ce13f7910513ae595061a698fc069f17b8479f22.zip |
Better error message when running `rake routes` with CONTROLLER arg:
- `CONTROLLER` argument can now be supplied in different ways (Rails::WelcomeController, Rails::Welcome, rails/welcome)
- If `CONTROLLER` argument was supplied but it does not exist, will warn the user that this controller does not exist
- If `CONTROLLER` argument was supplied and no routes could be found matching this filter, will warn the user that no routes were found matching the supplied filter
- If no routes were defined in the config/routes.rb file, will warn the user with the original message
Diffstat (limited to 'actionview/test/actionpack')
0 files changed, 0 insertions, 0 deletions