metamaps--metamaps/app/models/user_preference.rb

11 lines
179 B
Ruby
Raw Normal View History

2016-02-03 13:38:41 +00:00
class UserPreference
attr_accessor :metacodes
def initialize
array = []
Metacode.all.each do |m|
array.push(m.id.to_s)
end
@metacodes = array
end
end