File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Set up Angular service using ``$resource``:
56
56
.. note :: Since there is a known bug with $resource not respecting trailing slash, the urls in Django urlconf used by $resource
57
57
must either not have trailing slash or it should be optional (preferred) - e.g. ``url/? ``. Adding the trailing slash
58
58
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 `_
60
60
61
61
Another quick change is required to Angular app config, without this ``DELETE `` requests fail ``CSRF `` test:
62
62
@@ -151,3 +151,4 @@ Usage example
151
151
.. _ngRoute module : http://docs.angularjs.org/api/ngRoute
152
152
.. _$route : http://docs.angularjs.org/api/ngRoute/service/$route
153
153
.. _$routeParams : http://docs.angularjs.org/api/ngRoute/service/$routeParams
154
+ .. _trailingSlashBugFix : https://github.com/kwk/docker-registry-frontend/commit/d2b34b79c669d68bb1c587aab819b48157a790e7
You can’t perform that action at this time.
0 commit comments