Migrate form old ui to new ui (categories, tags and authorizations)

This commit is contained in:
chris committed 2013-10-15 23:38:44 +08:00
1 parent 11b880752d
commit 279ac774d4
9 files changed
+196 -131

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ module OrbitModel
has_one :auth_approval, as: :approval_authorizable, dependent: :destroy
has_one :auth_sub_manager, as: :sub_manager_authorizable, dependent: :destroy
delegate :authorized_users, to: :auth_approval, prefix: true, allow_nil: true
delegate :authorized_users, to: :auth_manager, prefix: true, allow_nil: true
delegate :authorized_users, to: :auth_sub_manager, prefix: true, allow_nil: true
send :include, InstanceMethods
end