From d8403b8b118578839a1f8feaf0b3732412ae88da Mon Sep 17 00:00:00 2001 From: Finn Date: Mon, 4 Dec 2017 12:27:53 +0000 Subject: [PATCH] Revert "added new tab linking and corrected redirect" This reverts commit 4eb5a4fd3f14ecc6870bf8fc9f3e1da0d73eff8f. --- 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 23f4577..4ce41b6 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->param('id') ); + $c->redirect_to( '/admin/organisations/'); } sub merge_list { diff --git a/templates/admin/organisations/list.html.ep b/templates/admin/organisations/list.html.ep index eca8aed..6885797 100644 --- a/templates/admin/organisations/list.html.ep +++ b/templates/admin/organisations/list.html.ep @@ -16,11 +16,11 @@

Organisations - Add Organisation + Add Organisation