added further fix
This commit is contained in:
parent
cd4f13bf8c
commit
de9d70432f
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ sub update {
|
|||
name => $validation->param('category'),
|
||||
});
|
||||
$c->flash( success => 'Category Updated' );
|
||||
$c->redirect_to( '/admin/categories/' . $id );
|
||||
$c->redirect_to( '/admin/categories/' . $validation->param('id') );
|
||||
} else {
|
||||
$c->flash( error => 'No Category found' );
|
||||
$c->redirect_to( '/admin/categories' );
|
||||
|
|
Reference in a new issue