Skip to content
Snippets Groups Projects
Commit fd4cdfa8 authored by Genvictus's avatar Genvictus
Browse files

fix: create post now redirects to home

parent 2b72a2e4
Branches
Tags
No related merge requests found
......@@ -54,7 +54,7 @@ class PostController extends BaseController
protected function post($urlParams)
{
$this->compose();
require PAGE_PATH . "/submission.php";
header("Location: /");
exit();
}
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/public/css/post.css">
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
<title>Post Review</title>
</head>
<body>
<section id="overlay">
<img src="/public/assets/Logo.png" alt="Github Logo" id="logo">
<hr>
<h1>You have made a new post!</h1>
</section>
</body>
</html>
\ No newline at end of file
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