DelayedJob is disabled by default

This commit is contained in:
dinedine 2010-12-19 21:34:01 +01:00
parent 87caa55b80
commit d0a089fb77
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ module Admin
if @site.valid?
# begin
unless params[:zipfile].blank?
Locomotive::Import::Job.run!(params[:zipfile], @site, { :samples => true })
end
# rescue Exception => e
# logger.error "Import failed because of #{e.message}"
# end

View File

@ -29,7 +29,7 @@ Locomotive.configure do |config|
# Locomotive uses the DelayedJob gem for the theme import module.
# In case you want to deploy to Heroku, you will have to pay for an extra dyno.
# If you do not mind about importing theme without DelayedJob, disable it.
config.delayed_job = true
config.delayed_job = false
# default locale (for now, only en and fr are supported)
config.default_locale = :en