From fcdf348aa15163cf6620998ffc8fbb31011ee007 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Fri, 10 Oct 2014 13:49:13 +0300 Subject: [PATCH] On theme selection, return back to the theme list --- classes/controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/controller.php b/classes/controller.php index c28c9a64..550eba01 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -295,6 +295,8 @@ class AdminController return false; } + $this->post = array('_redirect' => 'themes'); + // Make sure theme exists (throws exception) $name = $this->route; $this->grav['themes']->get($name);