Skip to content

Commit

Permalink
No need to pass router to SearchResultView
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Nov 14, 2011
1 parent e32c586 commit 9514c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sume.js
Expand Up @@ -75,7 +75,7 @@ Sume.SearchResultsView = Backbone.View.extend({
},

renderItem: function(model) {
var view = new Sume.SearchResultView({model : model, router: this.options.router})
var view = new Sume.SearchResultView({model : model})
$(this.el).append(view.el)
}
})
Expand Down

0 comments on commit 9514c81

Please sign in to comment.