rails-routes
List routes in a Rails application. tldr-pages
On several platforms
Several platforms
List all routes
rails routesIdentifyList all routes in an expanded format
rails routes --expandedIdentifyList routes partially matching URL helper method name, HTTP verb, or URL path
rails routes --grep posts_pathIdentifyList routes that map to a specified controller
rails routes --controller postsIdentify