Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
78695b4d89 |
|
|
@ -3,7 +3,7 @@ class Patent
|
||||||
include Mongoid::Timestamps
|
include Mongoid::Timestamps
|
||||||
include OrbitModel::Status
|
include OrbitModel::Status
|
||||||
include Slug
|
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_types
|
||||||
has_and_belongs_to_many :patent_author_types
|
has_and_belongs_to_many :patent_author_types
|
||||||
belongs_to :member_profile
|
belongs_to :member_profile
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ module PersonalPatent
|
||||||
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
|
||||||
|
is_personal_plugin true
|
||||||
frontend_enabled
|
frontend_enabled
|
||||||
icon_class_no_sidebar "icons-user"
|
icon_class_no_sidebar "icons-user"
|
||||||
data_count 1..10
|
data_count 1..10
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue