Skip to content
Snippets Groups Projects
Commit eb522bd9 authored by Jeffry's avatar Jeffry
Browse files

Edit routing of Edit Profile

parent a4f9f5c1
Branches
No related merge requests found
...@@ -3,6 +3,6 @@ namespace JLAS\Book; ...@@ -3,6 +3,6 @@ namespace JLAS\Book;
use SuPHP\Routing as Routing; use SuPHP\Routing as Routing;
Routing\addRoute("^profile$", "GET", ["biodata.php"], "BiodataController"); Routing\addRoute("^profile$", "GET", ["biodata.php"], "BiodataController");
Routing\addRoute("^edit$", "GET", ["edit_biodata.php"], "EditController"); Routing\addRoute("^profile\/edit$", "GET", ["edit_biodata.php"], "EditController");
Routing\addRoute("^edit$", "POST", ["edit_biodata.php"], "EditController"); Routing\addRoute("^profile\/edit$", "POST", ["edit_biodata.php"], "EditController");
?> ?>
\ 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