From 1d2fc734ecd9b45c68ac2f7d070875786d9030bb Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Mon, 3 Aug 2015 11:46:55 +0200 Subject: [PATCH] Fix double slash in path --- classes/controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/controller.php b/classes/controller.php index 1f255245..5eac91c6 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -821,9 +821,9 @@ class AdminController } } - // Always redirect if a page was change, to refresh it + // Always redirect if a page route was changed, to refresh it if ($obj instanceof Page\Page) { - $this->setRedirect($this->view . '/' . $obj->route()); + $this->setRedirect($this->view . $obj->route()); } return true;