support shortened post routes in js router
This commit is contained in:
parent
493553f979
commit
b9c98b2b44
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ app.Router = Backbone.Router.extend({
|
||||||
"u/:name": "stream",
|
"u/:name": "stream",
|
||||||
"followed_tags": "stream",
|
"followed_tags": "stream",
|
||||||
"tags/:name": "stream",
|
"tags/:name": "stream",
|
||||||
"posts/:id": "stream"
|
"posts/:id": "stream",
|
||||||
|
"p/:id": "stream"
|
||||||
},
|
},
|
||||||
|
|
||||||
stream : function() {
|
stream : function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue