mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
changed experiment create redirection [fixes SCI-365]
This commit is contained in:
parent
ed1cd193ac
commit
66b8a3055d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class ExperimentsController < ApplicationController
|
|||
if @experiment.save
|
||||
flash[:success] = t('experiments.create.success_flash',
|
||||
experiment: @experiment.name)
|
||||
redirect_to project_path(@project)
|
||||
redirect_to canvas_experiment_path(@experiment)
|
||||
else
|
||||
flash[:alert] = t('experiments.create.error_flash')
|
||||
redirect_to :back
|
||||
|
|
Loading…
Reference in a new issue