Skip to content

Commit

Permalink
Added a publishable config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreycoburn committed Feb 23, 2018
1 parent eeaf113 commit 8976370
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions config/presenters.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

return [
/*
|--------------------------------------------------------------------------
| Presenters
|--------------------------------------------------------------------------
|
| This is the default presenter namespace for your view presenters. If you
| changed your app namespace and / or changed your path to presenters
| folder, update your namespace here.
|
*/

'namespace' => 'App\Presenters',
];
4 changes: 3 additions & 1 deletion src/Providers/PresenterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class PresenterServiceProvider extends ServiceProvider
*/
public function boot()
{
//
$this->publishes([
__DIR__ . '/../../config/presenters.php' => config_path('presenters.php'),
]);
}

/**
Expand Down

0 comments on commit 8976370

Please sign in to comment.