Compare commits

..

1 Commits

Author SHA1 Message Date
Harry Bomrah 78695b4d89 Update 'lib/personal_patent/engine.rb' 2023-12-29 08:31:12 +00:00
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class Patent
include Mongoid::Timestamps
include OrbitModel::Status
include Slug
ActiveSupport.on_load(:after_initialize) { Patent.include Admin::PersonalPatentsHelper }
include Admin::PersonalPatentsHelper
has_and_belongs_to_many :patent_types
has_and_belongs_to_many :patent_author_types
belongs_to :member_profile

View File

@ -12,6 +12,8 @@ module PersonalPatent
author "RD dep"
intro "I am intro"
update_info 'some update_info'
authorizable
is_personal_plugin true
frontend_enabled
icon_class_no_sidebar "icons-user"
data_count 1..10