mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Merge pull request #86 from ZmagoD/zd_SCI_365
changed experiment create redirection [fixes SCI-365]
This commit is contained in:
commit
396325bd67
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