Fixed code and added test for reading and editing Organisations

This commit is contained in:
Finn 2017-08-18 16:46:49 +01:00
parent db2dc9fc0f
commit 36a5fdf2e3
5 changed files with 87 additions and 6 deletions

View file

@ -117,7 +117,7 @@ sub pending_edit {
$c->flash( success => 'Updated Organisation' );
}
};
$c->redirect_to( '/admin/organisations/valid/' . $pending_org->id );
$c->redirect_to( '/admin/organisations/pending/' . $pending_org->id );
}
sub pending_approve {