diff options
Added a link to dashboard in edit offer view and enabled login screen in dashboard
2 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/controllers/DashboardLoginController.php | 3 | ||||
| -rw-r--r-- | src/views/edit-offer.php | 1 |
diff --git a/src/controllers/DashboardLoginController.php b/src/controllers/DashboardLoginController.php index 775b96f..fe2009b 100644 --- a/src/controllers/DashboardLoginController.php +++ b/src/controllers/DashboardLoginController.php @@ -6,8 +6,7 @@ class DashboardLoginController extends BaseController { private static $message; public static function get() { - // include "views/dashboard-login.php"; - DashboardController::invoke(); + include "views/dashboard-login.php"; } public static function post() { diff --git a/src/views/edit-offer.php b/src/views/edit-offer.php index b9fb464..a6d699e 100644 --- a/src/views/edit-offer.php +++ b/src/views/edit-offer.php @@ -22,3 +22,4 @@ <input type="hidden" name="_method" value="put"> <input type="submit" value="Update"> </form> +<a href="/Dashboard">< Back to Dashboard</a> |
