List all routes in an expanded format

rails routes

rails routes --expanded

click the source code to copy install rails routes on any operating system with command-not-found.com