From 05114095677dedbec982da009c7f63f65bc24cbd Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 6 Aug 2015 11:03:14 -0600 Subject: [PATCH] Fix for #15 - requires grav update though. --- classes/controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/controller.php b/classes/controller.php index ffe67242..4bb3a44f 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -841,6 +841,7 @@ class AdminController // Always redirect if a page route was changed, to refresh it if ($obj instanceof Page\Page) { + $obj->unsetRoute(); $this->setRedirect($this->view . $obj->route()); }