From e5fc84b713431ba762a38c3c97498da9e645e195 Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Mon, 20 Mar 2017 18:03:20 +0100 Subject: [PATCH] Make endpoint name tip clearer Closes #477 --- docs/AdminResource.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/AdminResource.md b/docs/AdminResource.md index 6f48ab24881..8f5d02e732d 100644 --- a/docs/AdminResource.md +++ b/docs/AdminResource.md @@ -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`