From eb522bd9d08952148ec362084cd7f53db43ed91b Mon Sep 17 00:00:00 2001 From: JeffryM <13516156@std.stei.itb.ac.id> Date: Thu, 25 Oct 2018 14:55:41 +0700 Subject: [PATCH] Edit routing of Edit Profile --- routing/profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/profile.php b/routing/profile.php index c4464b4..f00c7af 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 -- GitLab