Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
c8e276676b |
|
|
@ -2,9 +2,9 @@ class Project
|
||||||
include Mongoid::Document
|
include Mongoid::Document
|
||||||
include Mongoid::Timestamps
|
include Mongoid::Timestamps
|
||||||
include OrbitModel::Status
|
include OrbitModel::Status
|
||||||
ActiveSupport.on_load(:after_initialize) { Project.include MemberHelper }
|
include MemberHelper
|
||||||
include Slug
|
include Slug
|
||||||
ActiveSupport.on_load(:after_initialize) { Project.include Admin::PersonalProjectsHelper }
|
include Admin::PersonalProjectsHelper
|
||||||
belongs_to :project_type
|
belongs_to :project_type
|
||||||
belongs_to :member_profile
|
belongs_to :member_profile
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,11 @@ module PersonalProject
|
||||||
author "RD dep"
|
author "RD dep"
|
||||||
intro "I am intro"
|
intro "I am intro"
|
||||||
update_info 'some update_info'
|
update_info 'some update_info'
|
||||||
|
authorizable
|
||||||
frontend_enabled
|
is_personal_plugin true
|
||||||
icon_class_no_sidebar "icons-user"
|
frontend_enabled
|
||||||
data_count 1..10
|
icon_class_no_sidebar "icons-user"
|
||||||
|
data_count 1..10
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue