mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
FIX: Default COntainer for data-less PageController
This commit is contained in:
parent
e7c4b036b1
commit
e8dd41bb80
@ -220,6 +220,11 @@ class PageController extends ContentController
|
|||||||
return $this->site_message;
|
return $this->site_message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function DefaultContainer()
|
||||||
|
{
|
||||||
|
return \Page::DefaultContainer();
|
||||||
|
}
|
||||||
|
|
||||||
public function CurrentTime()
|
public function CurrentTime()
|
||||||
{
|
{
|
||||||
return DBDatetime::now();
|
return DBDatetime::now();
|
||||||
|
Loading…
Reference in New Issue
Block a user