Merge pull request #301 from paulsponagl/export_with_cache_strategy

add cache_strategy to import/export
This commit is contained in:
Didier Lafforgue 2012-03-03 05:52:28 -08:00
commit 9a25c06969

View File

@ -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