1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Fix view paths

This commit is contained in:
Toby Zerner
2017-12-29 21:28:53 +10:30
parent f57dffe4a2
commit b491df89c2
5 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ abstract class AbstractFrontend
*/
protected function getLayout()
{
return 'flarum.forum::'.$this->getName();
return 'flarum.forum::frontend.'.$this->getName();
}
/**

View File

@@ -287,7 +287,7 @@ class FrontendView
$this->view->share('forum', array_get($forum, 'data'));
$this->view->share('debug', $this->app->inDebugMode());
$view = $this->view->make('flarum.forum::app');
$view = $this->view->make('flarum.forum::frontend.app');
$view->title = $this->buildTitle(array_get($forum, 'data.attributes.title'));
$view->description = $this->description ?: array_get($forum, 'data.attributes.description');
@@ -345,7 +345,7 @@ class FrontendView
protected function buildContent()
{
$view = $this->view->make('flarum.forum::content');
$view = $this->view->make('flarum.forum::frontend.content');
$view->content = $this->content;