On theme selection, return back to the theme list

This commit is contained in:
Matias Griese
2014-10-10 13:49:13 +03:00
parent af83f1d899
commit fcdf348aa1

View File

@@ -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);