From e926d40779974fc27f17e0791a5f337f36233bae Mon Sep 17 00:00:00 2001 From: Finn Date: Mon, 4 Dec 2017 12:27:53 +0000 Subject: [PATCH] added new tab linking and corrected redirect --- lib/Pear/LocalLoop/Controller/Admin/Organisations.pm | 2 +- templates/admin/organisations/list.html.ep | 4 ++-- templates/admin/organisations/valid_read.html.ep | 2 +- templates/admin/transactions/index.html.ep | 2 +- templates/admin/users/index.html.ep | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm index 4ce41b6..23f4577 100644 --- a/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm +++ b/lib/Pear/LocalLoop/Controller/Admin/Organisations.pm @@ -139,7 +139,7 @@ sub valid_edit { $c->flash( success => 'Updated Organisation' ); } }; - $c->redirect_to( '/admin/organisations/'); + $c->redirect_to( '/admin/organisations/' . $c->param('id') ); } sub merge_list { diff --git a/templates/admin/organisations/list.html.ep b/templates/admin/organisations/list.html.ep index 6885797..eca8aed 100644 --- a/templates/admin/organisations/list.html.ep +++ b/templates/admin/organisations/list.html.ep @@ -16,11 +16,11 @@

Organisations - Add Organisation + Add Organisation