Compare commits

..

1 Commits

Author SHA1 Message Date
Harry Bomrah c8e276676b Update 'lib/personal_project/engine.rb' 2023-12-29 08:28:57 +00:00
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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