From 5139480285da01c6ff56c020ff5919fc825e1b05 Mon Sep 17 00:00:00 2001 From: Pietro Giorgianni Date: Wed, 15 Feb 2012 17:23:18 +0100 Subject: [PATCH] Import assets before content_types. --- lib/locomotive/import/job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locomotive/import/job.rb b/lib/locomotive/import/job.rb index 62f1ab61..ecd85078 100644 --- a/lib/locomotive/import/job.rb +++ b/lib/locomotive/import/job.rb @@ -42,7 +42,7 @@ module Locomotive self.reset! if @options[:reset] - %w(site content_types assets snippets pages).each do |step| + %w(site assets content_types snippets pages).each do |step| if @options[:enabled][step] != false "Locomotive::Import::#{step.camelize}".constantize.process(context, @options) @worker.update_attributes :step => step if @worker