diff --git a/app/models/plume.rb b/app/models/plume.rb index ae8173d..8917da6 100644 --- a/app/models/plume.rb +++ b/app/models/plume.rb @@ -40,9 +40,9 @@ class Plume < ActiveRecord::Base return cat.plume_articles.first 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 - 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 else return nil