From e78b1e5e615978a221b68530641101451ab83e68 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Mon, 5 Mar 2018 18:54:09 +0200 Subject: Improve docs of `ActionDispatch::Routing` - Add a mention about `-g`. - Improve info about `--expanded` option of `rails routes`. --- actionpack/lib/action_dispatch/routing.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib') 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 -c option. Use - # --expanded to turn on the expanded table formatting mode. - # + # Target a specific controller with -c, or grep routes + # using -g. Useful in conjunction with --expanded + # which displays routes vertically. module Routing extend ActiveSupport::Autoload -- cgit v1.2.3