Commit 36c7c005 authored by Braulio Martinez's avatar Braulio Martinez

Remove unused posts#new action from Backbone

parent 3260bada
app.Router = Backbone.Router.extend({
routes: {
//new hotness
"posts/new" : "composer",
"posts/:id": "singlePost",
"posts/:id/next": "siblingPost",
"posts/:id/previous": "siblingPost",
......@@ -25,10 +24,6 @@ app.Router = Backbone.Router.extend({
"u/:name": "stream"
},
composer : function(){
this.renderPage(function(){ return new app.pages.Composer()});
},
singlePost : function(id) {
this.renderPage(function(){ return new app.pages.PostViewer({ id: id })});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment