collection is not needed in CommentEntry view

This commit is contained in:
Marcin Kulik 2012-03-04 23:09:06 +01:00
parent 51dfa8474f
commit 6660efe8a7

View File

@ -7,9 +7,6 @@ class AsciiIo.Views.CommentEntry extends AsciiIo.Views.Base
events: events:
'click .remove': 'removeComment' 'click .remove': 'removeComment'
initialize:(options) ->
@collection = options.collection
render: -> render: ->
extra = extra =
show_remove_link: @showRemoveLink() show_remove_link: @showRemoveLink()