removes unused method

This commit is contained in:
Juanjo Bazán
2015-09-24 12:42:21 +02:00
parent 3f46b27371
commit b979f871dd

View File

@@ -36,10 +36,6 @@ class Comment < ActiveRecord::Base
c_type.constantize.find(c_id)
end
def debate
commentable if commentable.class == Debate
end
def author_id
user_id
end