BUG Fix incorrect route registration order

Remove redundant Link() override
This commit is contained in:
Damian Mooyman 2016-08-02 10:35:40 +12:00
parent 5a1675a962
commit ab60850a28
2 changed files with 1 additions and 5 deletions

View File

@ -6,12 +6,12 @@ After: '#rootroutes'
Director:
rules:
'': 'RootURLController'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter'
'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask'
'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
---
Name: legacycmsroutes
After: '#adminroutes'

View File

@ -57,10 +57,6 @@ in the other stage:<br />
protected $orphanedSearchClass = 'SiteTree';
public function Link() {
return $this->class;
}
public function init() {
parent::init();