use a subset of the simplest ones for new users
This commit is contained in:
parent
61465ff148
commit
b47b09265d
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +3,9 @@ class UserPreference
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
array = []
|
array = []
|
||||||
Metacode.all.find_each do |m|
|
%w(Con Event Group Idea Insight Intention Need Opportunity Person Pro Problem Project Question Wildcard).each do |m|
|
||||||
array.push(m.id.to_s)
|
metacode = Metacode.find_by_name(m)
|
||||||
|
array.push(metacode.id.to_s) if metacode
|
||||||
end
|
end
|
||||||
@metacodes = array
|
@metacodes = array
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue