Skip to content
Snippets Groups Projects
Commit 6f0b9216 authored by Alexander Jason's avatar Alexander Jason
Browse files

Merge branch 'dev' of github.com:moonawar/wbd-10-backup into dev

parents 49835b79 c6741604
Branches
Tags
No related merge requests found
......@@ -28,7 +28,7 @@ class AuthorController extends Controller implements ControllerInterface
$this->model->addAuthor($authorName, $authorAge);
header("Location: /home", true, 301);
header("Location: /author/update", true, 301);
exit;
default:
throw new RequestException('Method Not Allowed', 405);
......
......@@ -27,7 +27,7 @@ class GenreController extends Controller implements ControllerInterface
$this->model->createGenre($name);
header("Location: /home", true, 301);
header("Location: /genre/update", true, 301);
exit;
default:
throw new RequestException('Method Not Allowed', 405);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment