Commit 930ad88a authored by Sean McGivern's avatar Sean McGivern

Merge branch 'sh-add-rake-task-docs-and-bump-grape-path-helpers' into 'master'

Bump grape-path-helpers to 1.0.2 to get updated Rake task naming

See merge request gitlab-org/gitlab-ce!19474
parents 746c67db 82762c53
...@@ -359,7 +359,7 @@ GEM ...@@ -359,7 +359,7 @@ GEM
grape-entity (0.7.1) grape-entity (0.7.1)
activesupport (>= 4.0) activesupport (>= 4.0)
multi_json (>= 1.3.2) multi_json (>= 1.3.2)
grape-path-helpers (1.0.1) grape-path-helpers (1.0.2)
activesupport (~> 4) activesupport (~> 4)
grape (~> 1.0) grape (~> 1.0)
rake (~> 12) rake (~> 12)
......
...@@ -176,3 +176,20 @@ git push -u origin update-project-templates ...@@ -176,3 +176,20 @@ git push -u origin update-project-templates
``` ```
Now create a merge request and merge that to master. 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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment