mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 01:14:30 +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
|
||||
flash[:success] = t('experiments.update.success_flash',
|
||||
experiment: @experiment.name)
|
||||
|
||||
redirect_to :back
|
||||
else
|
||||
flash[:alert] = t('experiments.update.error_flash')
|
||||
redirect_to :back
|
||||
end
|
||||
redirect_to :back
|
||||
end
|
||||
|
||||
def archive
|
||||
|
|
Loading…
Reference in a new issue