Merge pull request #75 from mlewis-everley/patch-1

Make LeftAndMain redirect direct to admin
This commit is contained in:
Sean Harvey 2013-04-25 19:10:16 -07:00
commit c185843e94

View File

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