From 6788778603acac787b36b2a0f5c1f260a914cf3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Rustad?= Date: Thu, 22 Aug 2013 23:01:12 +0200 Subject: [PATCH] Redirect to team page after successful edit --- lib/Duplo/Manager.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Duplo/Manager.pm b/lib/Duplo/Manager.pm index 03b0a3d..c050f5d 100644 --- a/lib/Duplo/Manager.pm +++ b/lib/Duplo/Manager.pm @@ -414,8 +414,7 @@ sub edit { $sth->execute($rider, $team, $stage); } - $self->flash(errors => \@errors); - return $self->redirect_to('manager_edit_form', team => $team); + return $self->redirect_to('manager_team', team => $team); } 1; -- 2.47.3