From b3afe59aa43b960a2b256a951797662f91825895 Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Wed, 31 Aug 2011 03:55:51 +0200 Subject: [PATCH] Redirect to project page on trial creation --- application/controllers/trials.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/trials.php b/application/controllers/trials.php index 28efcaa..4541e5e 100644 --- a/application/controllers/trials.php +++ b/application/controllers/trials.php @@ -108,7 +108,8 @@ class Trials extends CI_Controller { $this->load->library('program_runner', array('program_driver' => $program['driver'])); $this->program_runner->createJob($trialId); - redirect('trials/detail/' . $trialId, 'refresh'); + //redirect('trials/detail/' . $trialId, 'refresh'); + redirect('projects/detail/' . $projectId, 303); } else { $this->messages->add(_('The trial could not be created.'), 'error'); }