FEATURE: display content with given template
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user