Skip to content

Commit

Permalink
Added Publishable Views
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs authored Apr 20, 2017
1 parent 33d9d6a commit ccc9935
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ForumServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ public function boot()
{
$this->registerPolicies();

$this->app->register('GrahamCampbell\\Markdown\\MarkdownServiceProvider');

$this->publishes([
__DIR__.'/Views/public' => resource_path('views/vendor/laralum_forum/public'),
], 'laralum_forum');

$this->loadViewsFrom(__DIR__.'/Views', 'laralum_forum');

$this->loadTranslationsFrom(__DIR__.'/Translations', 'laralum_forum');
Expand All @@ -173,8 +179,6 @@ public function boot()
require __DIR__.'/Routes/web.php';
}

$this->app->register('GrahamCampbell\\Markdown\\MarkdownServiceProvider');

$this->loadMigrationsFrom(__DIR__.'/Migrations');

// Make sure the permissions are OK
Expand Down

0 comments on commit ccc9935

Please sign in to comment.