Skip to content

Commit 4e6e547

Browse files
committed
Update basic-crud-operations.rst
the trailing slash issue has now been fixed in angular 1.3 angular/angular.js#5560
1 parent b08db46 commit 4e6e547

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/basic-crud-operations.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Set up Angular service using ``$resource``:
5656
.. note:: Since there is a known bug with $resource not respecting trailing slash, the urls in Django urlconf used by $resource
5757
must either not have trailing slash or it should be optional (preferred) - e.g. ``url/?``. Adding the trailing slash
5858
to the $resource configuration regardless (``/crud/mymodel/``) ensures future compatibility in case the bug gets fixed and
59-
will then follow Django's trailing slash convention.
59+
will then follow Django's trailing slash convention. This has been fixed in AngularJS 1.3. More information here `trailingSlashBugFix`_
6060

6161
Another quick change is required to Angular app config, without this ``DELETE`` requests fail ``CSRF`` test:
6262

@@ -151,3 +151,4 @@ Usage example
151151
.. _ngRoute module: http://docs.angularjs.org/api/ngRoute
152152
.. _$route: http://docs.angularjs.org/api/ngRoute/service/$route
153153
.. _$routeParams: http://docs.angularjs.org/api/ngRoute/service/$routeParams
154+
.. _trailingSlashBugFix: https://github.com/kwk/docker-registry-frontend/commit/d2b34b79c669d68bb1c587aab819b48157a790e7

0 commit comments

Comments
 (0)