1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44:27 +02:00

Fix view paths

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

View File

@@ -77,7 +77,7 @@ class ForumServiceProvider extends AbstractServiceProvider
{
$this->populateRoutes($this->app->make('flarum.forum.routes'));
$this->loadViewsFrom(__DIR__.'/../../views/frontend', 'flarum.forum');
$this->loadViewsFrom(__DIR__.'/../../views', 'flarum.forum');
$this->app->make('view')->share([
'translator' => $this->app->make(TranslatorInterface::class),