changed experiment create redirection [fixes SCI-365]

This commit is contained in:
zmagod 2016-08-23 09:03:39 +02:00
parent ed1cd193ac
commit 66b8a3055d

View file

@ -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