Update user_preference.rb
This commit is contained in:
parent
d10974f0e8
commit
fb88c31ca9
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class UserPreference
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
array = []
|
array = []
|
||||||
%w(Action, Aim, Idea, Question, Note, Wildcard, Subject).each do |m|
|
%w(Action Aim Idea Question Note Wildcard Subject).each do |m|
|
||||||
metacode = Metacode.find_by_name(m)
|
metacode = Metacode.find_by_name(m)
|
||||||
array.push(metacode.id.to_s) if metacode
|
array.push(metacode.id.to_s) if metacode
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue