rails 查看相关路由 rails查看路由,使用rake routes查看单独的路由时,可使用grep如查看users_controller的相关路由:rake routes | grep users