Skip to content

Commit

Permalink
Fix url for group_names action example (#6036)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgl authored and Ryan P Kilby committed Jun 21, 2018
1 parent d778c5e commit 8f55cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/routers.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ The following mappings would be generated...
<tr><th>URL</th><th>HTTP Method</th><th>Action</th><th>URL Name</th></tr>
<tr><td>/users</td><td>GET</td><td>list</td><td>user-list</td></tr>
<tr><td>/users/{username}</td><td>GET</td><td>retrieve</td><td>user-detail</td></tr>
<tr><td>/users/{username}/group-names</td><td>GET</td><td>group_names</td><td>user-group-names</td></tr>
<tr><td>/users/{username}/group_names</td><td>GET</td><td>group_names</td><td>user-group-names</td></tr>
</table>

For another example of setting the `.routes` attribute, see the source code for the `SimpleRouter` class.
Expand Down

0 comments on commit 8f55cd8

Please sign in to comment.