Fix bug.
This commit is contained in:
parent
20bc7c888c
commit
b819715799
|
@ -0,0 +1,8 @@
|
||||||
|
module RulingBusConcern
|
||||||
|
extend ActiveSupport::Concern
|
||||||
|
included do
|
||||||
|
end
|
||||||
|
def delete_page_cache_custom
|
||||||
|
PageCacheModel.where(:page_id.in=>PagePart.where(:id.in=>SubPart.where(:module=>'ruling_bus').pluck(:page_part_id)).pluck(:page_id)).delete
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue