This commit is contained in:
Nicolas Bally 2019-10-10 12:57:10 +02:00
parent 00307a0535
commit fd812a6564

View File

@ -40,9 +40,9 @@ class Plume < ActiveRecord::Base
return cat.plume_articles.first return cat.plume_articles.first
else else
if self.id = 3 and a = self.plume_articles.where(:id => 25).first if self.id == 3 and a = self.plume_articles.where(:id => 25).first
a a
elsif self.id = 11 and a = self.plume_articles.where(:id => 218).first elsif self.id == 11 and a = self.plume_articles.where(:id => 218).first
a a
else else
return nil return nil