engine/lib/locomotive/import
Paul Sponagl 27dd3b2001 Fit issue 240 by using slug to find content-type
export.rb exports targets with
field_attributes['target'] = target_klass._parent.slug
but import imports it with:
target_content_type = site.content_types.where(:name => association.target).first

this fails if one uses capitalized names for Models.
i changed the default.zip to contain a site yaml with capitalized
Model-Names too.
2012-01-09 15:01:51 +01:00
..
assets.rb fix issue #115 + clean code + exporting a site works now with ruby 1.8.7 2011-07-19 14:52:02 +02:00
base.rb add rspec tests for the import module + debug the cms to handle correctly the default theme 2010-10-29 01:36:45 +02:00
content_types.rb Fit issue 240 by using slug to find content-type 2012-01-09 15:01:51 +01:00
job.rb add the export link + fix the bugs for the export module + a little bit of refactoring 2011-07-04 15:25:02 +02:00
logger.rb write tests for the last cells menu + write tests for the bushi.do events + refactor the locomotive logger + add the cas_extra_attributes hook 2011-07-26 21:20:03 +02:00
pages.rb Bugfix: import site with empty editable file. 2011-08-03 08:58:47 +02:00
site.rb remove all the references to asset_collections 2011-06-21 06:12:20 -07:00
snippets.rb removing asset collections 2011-06-17 14:32:54 -07:00