DelayedJob is disabled by default
This commit is contained in:
parent
87caa55b80
commit
d0a089fb77
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user