silverstripe-cms/code/controllers/CMSPageEditController.php
2012-04-15 10:56:40 +12:00

20 lines
451 B
PHP

<?php
/**
* @package cms
*/
class CMSPageEditController extends CMSMain {
static $url_segment = 'page/edit';
static $url_rule = '/$Action/$ID/$OtherID';
static $url_priority = 41;
static $required_permission_codes = 'CMS_ACCESS_CMSMain';
public function Breadcrumbs($unlinked = false) {
$crumbs = parent::Breadcrumbs($unlinked);
// Remove "root" element, as its already shown in the tree panel
$crumbs->shift();
return $crumbs;
}
}