Skip to content

Commit

Permalink
Move config file & Add vendor:publish Readme quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzipp committed Sep 14, 2018
1 parent 0286bc2 commit 0fc6d68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Add Service Provider to your app.php configuration file:
Copy configuration to config folder:

```
$ php artisan vendor:publish --provider=romanzipp\QueueMonitor\Providers\QueueMonitorProvider
$ php artisan vendor:publish --provider="romanzipp\QueueMonitor\Providers\QueueMonitorProvider"
```

Migrate the Queue Monitoring table. The table name itself can be configured in the config file.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Providers/QueueMonitorProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class QueueMonitorProvider extends ServiceProvider
public function boot()
{
$this->publishes([
dirname(__DIR__) . '/../queue-monitor.php' => config_path('queue-monitor.php'),
dirname(__DIR__) . '/../config/queue-monitor.php' => config_path('queue-monitor.php'),
], 'config');

$this->loadMigrationsFrom(
Expand Down Expand Up @@ -52,7 +52,7 @@ public function boot()
public function register()
{
$this->mergeConfigFrom(
dirname(__DIR__) . '/../queue-monitor.php', 'queue-monitor'
dirname(__DIR__) . '/../config/queue-monitor.php', 'queue-monitor'
);
}
}

0 comments on commit 0fc6d68

Please sign in to comment.