Remove Commentaire::columns override

It was used for a cleanup migration a long time ago (see #233, #3033, #3043)
This commit is contained in:
Nicolas Bouilleaud 2019-07-01 18:14:02 +02:00 committed by Pierre de La Morinerie
parent 7e98213829
commit 3bf19de124

View file

@ -14,10 +14,6 @@ class Commentaire < ApplicationRecord
after_create :notify
def self.columns
super.reject { |c| c.name == "champ" }
end
def email
if user
user.email