forked from saurabh/personal-patent
Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
b7c1947520 |
|
|
@ -3,7 +3,7 @@ class Patent
|
||||||
include Mongoid::Timestamps
|
include Mongoid::Timestamps
|
||||||
include OrbitModel::Status
|
include OrbitModel::Status
|
||||||
include Slug
|
include Slug
|
||||||
include Admin::PersonalPatentsHelper
|
ActiveSupport.on_load(:after_initialize) { Patent.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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue