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