diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-06 11:19:12 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-06 11:20:27 +0300 |
commit | 82762c53deec1e38f3b2ace5e5a5469569fe3b92 (patch) | |
tree | 4b15edd50715064b54e69e3c4439d39e7f49d42d /doc/development/rake_tasks.md | |
parent | af07c490b2a32ed4c88e387d1133e7882f79abc5 (diff) |
Bump grape-path-helpers to 1.0.2 to get updated Rake task naming
Add development documentation on how to generate a list of routes
Diffstat (limited to 'doc/development/rake_tasks.md')
-rw-r--r-- | doc/development/rake_tasks.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index 31addcaf675..fc51b74da1d 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -176,3 +176,20 @@ git push -u origin update-project-templates ``` Now create a merge request and merge that to master. + +## Generate route lists + +To see the full list of API routes, you can run: + +```shell +bundle exec rake grape:path_helpers +``` + +For the Rails controllers, run: + +```shell +bundle exec rake routes +``` + +Since these take some time to create, it's often helpful to save the output to +a file for quick reference. |