fix error
This commit is contained in:
parent
7a9f85ebc0
commit
4c523b4168
|
@ -4,6 +4,7 @@ module BulletinModel
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
included do
|
included do
|
||||||
before_save :do_before_save
|
before_save :do_before_save
|
||||||
|
before_destroy :do_before_save
|
||||||
end
|
end
|
||||||
def do_before_save
|
def do_before_save
|
||||||
if self.class == SubPart
|
if self.class == SubPart
|
||||||
|
|
Loading…
Reference in New Issue