FEATURE: display content with given template

This commit is contained in:
Michal Kváček
2016-03-09 22:27:43 +01:00
parent 03dbf22eb0
commit 3407707046
+1 -1
View File
@@ -30,6 +30,6 @@ class StaticPage extends Handler
*/
public function render(Content $content, $parameters)
{
return Controller::VisitorsView('staticpages::content', ['page' => $content]);
return Controller::VisitorsView($content->template, ['page' => $content]);
}
}