wrong flash message key for the import controller
This commit is contained in:
parent
8a58a0cad1
commit
d4b2153c7b
@ -39,7 +39,7 @@ module Admin
|
|||||||
logger.error "[Locomotive import] #{e.message} / #{e.backtrace}"
|
logger.error "[Locomotive import] #{e.message} / #{e.backtrace}"
|
||||||
|
|
||||||
@error = e.message
|
@error = e.message
|
||||||
flash[:alert] = t('flash.admin.imports.create.alert')
|
flash[:alert] = t('flash.admin.import.create.alert')
|
||||||
|
|
||||||
render 'new'
|
render 'new'
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user