mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-06 23:53:07 +01:00
On theme selection, return back to the theme list
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user