Merge pull request #301 from paulsponagl/export_with_cache_strategy
add cache_strategy to import/export
This commit is contained in:
commit
9a25c06969
@ -173,7 +173,7 @@ module Locomotive
|
||||
protected
|
||||
|
||||
def _copy_pages(page)
|
||||
attributes = self.extract_attributes(page, %w{title seo_title meta_description meta_keywords redirect_url content_type published})
|
||||
attributes = self.extract_attributes(page, %w{title seo_title meta_description meta_keywords redirect_url content_type published cache_strategy})
|
||||
|
||||
attributes['listed'] = page.listed? # in some cases, page.listed can be nil
|
||||
|
||||
@ -340,4 +340,4 @@ module Locomotive
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user