Change inheritance of controller class

This needs to extend from PageController to pick up site templating, styleing etc.
This commit is contained in:
Rob Ingram 2019-03-01 12:01:09 +13:00
parent d43163e327
commit de7a66b12a

View File

@ -2,11 +2,11 @@
namespace SilverStripe\IFrame;
use SilverStripe\CMS\Controllers\ContentController;
use PageController;
use SilverStripe\Control\Director;
use SilverStripe\View\Requirements;
class IFramePageController extends ContentController
class IFramePageController extends PageController
{
protected function init()
{