Add options for rake routes task by vipulnsward · Pull Request #23225 · rails/rails
Add two options: -c and -g. -g option returns the urls name, verb and path fields that match the pattern. -c option returns the urls for specific controller. Fixes #20420 & Fixes #18902