Skip to content

Commit

Permalink
Make endpoint name tip clearer
Browse files Browse the repository at this point in the history
Closes #477
  • Loading branch information
fzaninotto committed Mar 20, 2017
1 parent b9047ae commit e5fc84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/AdminResource.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ The routing will map the component as follows:
* `/posts/:id/show` maps to `PostShow`
* `/posts/:id/delete` maps to `PostRemove`

**Tip**: If you want to use a special API endpoint without altering the URL, write the translation from the resource `name` to the API endpoint in your own `restClient`
**Tip**: If you want to use a special API endpoint (e.g. 'http://jsonplaceholder.typicode.com/my-custom-posts-endpoint') without altering the URL in te admin-on-rest application (so still use `/posts`), write the mapping from the resource `name` (`posts`) to the API endpoint (`my-custom-posts-endpoint`) in your own `restClient`

### `icon`

Expand Down

0 comments on commit e5fc84b

Please sign in to comment.