# app directory bin/rails routes | grep 'search text' # console > Rails.application.routes.url_helpers.users_path # or > app.post_path