1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 23:14:29 +02:00

Restructure views

- Use Laravel's view namespacing rather than the full file path
- Organise views into directories
This commit is contained in:
Toby Zerner
2017-11-29 12:49:09 +10:30
parent 7796580210
commit 479e44dd04
10 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ class DiscussionController extends WebAppController
$view->title = $document->data->attributes->title;
$view->document = $document;
$view->content = app('view')->make('flarum.forum::discussion', compact('document', 'page', 'getResource', 'posts', 'url'));
$view->content = app('view')->make('flarum::frontend.content.discussion', compact('document', 'page', 'getResource', 'posts', 'url'));
return $view;
}