I want to change url in ng-admin state. For example, I need to add a trailing /
at the URL for getting a list of users. (http://localhost/api/v1/users/ instead
of http://localhost/api/v1/users
)
Asked
Active
Viewed 780 times
0

Ildar
- 3,808
- 7
- 45
- 81
-
Have a look here, it might be what you need https://github.com/marmelab/ng-admin/blob/master/doc/API-mapping.md – David Votrubec Oct 22 '15 at 06:31
1 Answers
1
The Entity
and View
classes offer a baseUrl()
method, so it's probably not very hard. Just follow the directions from the documentation:

François Zaninotto
- 7,068
- 2
- 35
- 56