diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-03-13 20:09:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 20:09:30 +0100 |
commit | bebce8c1a07c1b0628d3568d56ccc1e7bb1943a7 (patch) | |
tree | 6cc0d10c87fd04484eca7ecc8c2f7065f8cdf661 /actionpack/lib/action_dispatch/routing.rb | |
parent | 48a7174fcff462568354184b7e7e86db5aa0b495 (diff) | |
parent | 304906f1bd4cd6f2831b6ae39a9ae54599d85569 (diff) | |
download | rails-bebce8c1a07c1b0628d3568d56ccc1e7bb1943a7.tar.gz rails-bebce8c1a07c1b0628d3568d56ccc1e7bb1943a7.tar.bz2 rails-bebce8c1a07c1b0628d3568d56ccc1e7bb1943a7.zip |
Merge pull request #32153 from bogdanvlviv/rails-routes-32130
Change message on the empty result of searching routes by `rails routes` with `-c` or `-g`
Diffstat (limited to 'actionpack/lib/action_dispatch/routing.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index 776058d98e..5cde677051 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -243,9 +243,9 @@ module ActionDispatch # # rails routes # - # Target specific controllers by prefixing the command with <tt>-c</tt> option. Use - # <tt>--expanded</tt> to turn on the expanded table formatting mode. - # + # Target a specific controller with <tt>-c</tt>, or grep routes + # using <tt>-g</tt>. Useful in conjunction with <tt>--expanded</tt> + # which displays routes vertically. module Routing extend ActiveSupport::Autoload |