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: Director:
rules: rules:
'': 'RootURLController' '': 'RootURLController'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter' 'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter'
'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask' 'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask'
'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask' 'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask' 'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask' 'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask'
'$URLSegment//$Action/$ID/$OtherID': 'ModelAsController'
--- ---
Name: legacycmsroutes Name: legacycmsroutes
After: '#adminroutes' After: '#adminroutes'

View File

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