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
This commit is contained in:
Stan Hu 2018-06-06 01:19:12 -07:00
parent af07c490b2
commit 82762c53de
2 changed files with 18 additions and 1 deletions

View file

@ -359,7 +359,7 @@ GEM
grape-entity (0.7.1)
activesupport (>= 4.0)
multi_json (>= 1.3.2)
grape-path-helpers (1.0.1)
grape-path-helpers (1.0.2)
activesupport (~> 4)
grape (~> 1.0)
rake (~> 12)

View file

@ -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.