Skip to content

Commit

Permalink
Merge pull request #85 from 4unkur/master
Browse files Browse the repository at this point in the history
Ability to publish vendor views
  • Loading branch information
vyuldashev authored Jul 18, 2019
2 parents 85cdf11 + 38c0019 commit ea8012b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public function boot()
__DIR__.'/../resources/lang' => resource_path('lang/vendor/nova-permission-tool'),
], 'nova-permission-tool-lang');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/nova-permission-tool'),
], 'nova-permission-tool-views');

$this->app->booted(function () {
$this->routes();
});
Expand Down

0 comments on commit ea8012b

Please sign in to comment.