Fix url for group_names action example (#6036)

This commit is contained in:
Çağıl 2018-06-21 09:29:05 +01:00 committed by Ryan P Kilby
parent d778c5e51e
commit 8f55cd8db5

View File

@ -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><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</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}</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> </table>
For another example of setting the `.routes` attribute, see the source code for the `SimpleRouter` class. For another example of setting the `.routes` attribute, see the source code for the `SimpleRouter` class.