mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Fix some stuff
This commit is contained in:
parent
b34f2d58c8
commit
e8b1cf64ea
@ -6,7 +6,7 @@
|
|||||||
* @package silverstripe
|
* @package silverstripe
|
||||||
* @subpackage blog
|
* @subpackage blog
|
||||||
*
|
*
|
||||||
* @author Michael Strong <github@michaelstrong.co.uk>
|
* @author Michael Strong <mstrong@silverstripe.org>
|
||||||
**/
|
**/
|
||||||
class GridFieldConfig_BlogPost extends GridFieldConfig_Lumberjack {
|
class GridFieldConfig_BlogPost extends GridFieldConfig_Lumberjack {
|
||||||
|
|
||||||
@ -15,4 +15,5 @@ class GridFieldConfig_BlogPost extends GridFieldConfig_Lumberjack {
|
|||||||
$this->removeComponentsByType('SiteTreeEditButton');
|
$this->removeComponentsByType('SiteTreeEditButton');
|
||||||
$this->addComponent(new GridFieldSiteTreeEditButton());
|
$this->addComponent(new GridFieldSiteTreeEditButton());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user