From b979f871dd8a3cbf9ee037a6066333e56f4089a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Thu, 24 Sep 2015 12:42:21 +0200 Subject: [PATCH] removes unused method --- app/models/comment.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 187e35037..e9bb59775 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -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