Ray's changes in structure

This commit is contained in:
rulingcom authored and chris committed 2013-07-22 14:06:58 +08:00
1 parent c8292a7619
commit 408bebaa4b
13 files changed
+114 -45

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ class Item
include Mongoid::Timestamps
include Mongoid::Tree
include Mongoid::Tree::Ordering
LIST = YAML.load(File.read('config/list.yml'))
LIST = YAML.load(File.read("#{Rails.root}/config/list.yml"))
field :name
field :path