mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge pull request #75 from mlewis-everley/patch-1
Make LeftAndMain redirect direct to admin
This commit is contained in:
commit
c185843e94
@ -23,7 +23,7 @@ class LeftAndMainSubsites extends Extension {
|
||||
Subsite::changeSubsite($_GET['SubsiteID']);
|
||||
|
||||
//Redirect to clear the current page
|
||||
return $this->owner->redirect('admin/pages');
|
||||
return $this->owner->redirect('admin/');
|
||||
}
|
||||
|
||||
// Set subsite ID based on currently shown record
|
||||
|
Loading…
Reference in New Issue
Block a user