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
|
||||
@ -189,4 +189,4 @@ class LeftAndMainSubsites extends Extension {
|
||||
return $this->owner->redirect(Controller::join_links($this->owner->Link('show'), $newPage->ID));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user