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:
parent
af07c490b2
commit
82762c53de
2 changed files with 18 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue