clean up flash label

This commit is contained in:
zmagod 2016-09-21 19:09:57 +02:00
parent 971da78a11
commit 8a8bf10f08
2 changed files with 1 additions and 2 deletions

View file

@ -86,7 +86,7 @@ class ExperimentsController < ApplicationController
end
end
else
flash[:alert] = t('experiments.archive.restore_flash')
flash[:alert] = t('experiments.update.error_flash')
respond_to do |format|
format.json do
render json: @experiment.errors, status: :unprocessable_entity

View file

@ -631,7 +631,6 @@ en:
success_flash: "Successfully archived experiment %{experiment}"
error_flash: 'Could not archive the experiment.'
label_title: 'Archive'
restore_flash: 'Something went wrong try again later later'
clone:
modal_title: 'Clone experiment %{experiment}'
label_title: 'Clone'