mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
fixes hound
This commit is contained in:
parent
131d0d269a
commit
75c52d20e5
1 changed files with 1 additions and 3 deletions
|
@ -68,12 +68,10 @@ class ExperimentsController < ApplicationController
|
||||||
if @experiment.save
|
if @experiment.save
|
||||||
flash[:success] = t('experiments.update.success_flash',
|
flash[:success] = t('experiments.update.success_flash',
|
||||||
experiment: @experiment.name)
|
experiment: @experiment.name)
|
||||||
|
|
||||||
redirect_to :back
|
|
||||||
else
|
else
|
||||||
flash[:alert] = t('experiments.update.error_flash')
|
flash[:alert] = t('experiments.update.error_flash')
|
||||||
redirect_to :back
|
|
||||||
end
|
end
|
||||||
|
redirect_to :back
|
||||||
end
|
end
|
||||||
|
|
||||||
def archive
|
def archive
|
||||||
|
|
Loading…
Reference in a new issue