basic function

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-09-17 13:32:52 +08:00
1 parent 9eed9ec7b6
commit 19db9d0037
26 files changed
+420 -185

No files matched your search

+4 -1
View File
@@ -2,9 +2,12 @@ class Status
include Mongoid::Document
include Mongoid::Timestamps
has_and_belongs_to_many :users
belongs_to :role
has_and_belongs_to_many :sub_roles
# has_and_belongs_to_many :sub_roles
field :title, localize: true