diff options
| author | Igor Minar | 2012-03-20 00:38:08 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-03-20 11:07:37 -0700 | 
| commit | a4fe51da3ba0dc297ecd389e230d6664f250c9a6 (patch) | |
| tree | 68f86adad082bcf23d96c2b71d47a37060841a18 /src/Resource.js | |
| parent | ee5a5352fd4b94cedee6ef20d4bf2d43ce77e00b (diff) | |
| download | angular.js-a4fe51da3ba0dc297ecd389e230d6664f250c9a6.tar.bz2 | |
feat($route): when matching consider trailing slash as optional
This makes for a much more flexible route matching:
- route /foo matches /foo and redirects /foo/ to /foo
- route /bar/ matches /bar/ and redirects /bar to /bar/
Closes #784
Diffstat (limited to 'src/Resource.js')
0 files changed, 0 insertions, 0 deletions
