Skip to content

Commit

Permalink
FIX issue with publishing package resources
Browse files Browse the repository at this point in the history
ADD boot method to ServiceProvider.
FIX CHANGELOG.md.
  • Loading branch information
sfneal committed Nov 18, 2020
1 parent b9003fb commit c79b067
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ All notable changes to `crud-model-actions` will be documented in this file

## 0.5.1 - 2020-11-17
- fix config file path in ServiceProvider


## 0.5.2 - 2020-11-18
- add boot method to ServiceProvider to fix resource publishing
8 changes: 8 additions & 0 deletions src/Providers/CrudModelActionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@

class CrudModelActionServiceProvider extends ServiceProvider
{
public function boot()
{
// Publish config file
$this->publishes([
__DIR__.'/../../config/crud-model-action.php' => base_path('config/crud-model-action.php'),
], 'config');
}

public function register()
{
// Load config file
Expand Down

0 comments on commit c79b067

Please sign in to comment.