mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
change experiment path
This commit is contained in:
parent
75c52d20e5
commit
322be64b5f
1 changed files with 2 additions and 1 deletions
|
@ -68,10 +68,11 @@ class ExperimentsController < ApplicationController
|
|||
if @experiment.save
|
||||
flash[:success] = t('experiments.update.success_flash',
|
||||
experiment: @experiment.name)
|
||||
redirect_to canvas_experiment_path(@experiment)
|
||||
else
|
||||
flash[:alert] = t('experiments.update.error_flash')
|
||||
redirect_to :back
|
||||
end
|
||||
redirect_to :back
|
||||
end
|
||||
|
||||
def archive
|
||||
|
|
Loading…
Reference in a new issue