From d1757bdac9df743df9ef587d9ec091513644ea9a Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 15 Sep 2017 11:18:27 +0100 Subject: [PATCH] Changed routing on submission --- lib/Pear/LocalLoop/Controller/Admin/Organisations.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm index 6921c6a..4fefec3 100644 --- a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm +++ b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm @@ -115,7 +115,7 @@ sub valid_edit { $c->flash( success => 'Updated Organisation' ); } }; - $c->redirect_to( '/admin/organisations/' . $valid_org->id ); + $c->redirect_to( '/admin/organisations/'); } 1;