remove unneeded comment
This commit is contained in:
parent
b7fb0bc619
commit
e938141001
|
@ -22,7 +22,7 @@ class Comment < ActiveRecord::Base
|
|||
attr_accessible :body, :data
|
||||
|
||||
def commentable
|
||||
commit_comment? ? project.repo.commit(Comment.hex_to_commit_hash commentable_id) : super # TODO leading zero problem
|
||||
commit_comment? ? project.repo.commit(Comment.hex_to_commit_hash commentable_id) : super
|
||||
end
|
||||
|
||||
def commentable=(c)
|
||||
|
|
Loading…
Reference in New Issue