suite
This commit is contained in:
parent
00307a0535
commit
fd812a6564
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user