diff --git a/routing/profile.php b/routing/profile.php index c4464b410a314138990da962cdab666cdce8df3a..f00c7af26b0b27784e3e0b1df58aa55774c15b82 100644 --- a/routing/profile.php +++ b/routing/profile.php @@ -3,6 +3,6 @@ namespace JLAS\Book; use SuPHP\Routing as Routing; Routing\addRoute("^profile$", "GET", ["biodata.php"], "BiodataController"); -Routing\addRoute("^edit$", "GET", ["edit_biodata.php"], "EditController"); -Routing\addRoute("^edit$", "POST", ["edit_biodata.php"], "EditController"); +Routing\addRoute("^profile\/edit$", "GET", ["edit_biodata.php"], "EditController"); +Routing\addRoute("^profile\/edit$", "POST", ["edit_biodata.php"], "EditController"); ?> \ No newline at end of file