Reworked site setup, added SingleOrFail()
This commit is contained in:
@@ -3,9 +3,12 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Leenooks\Traits\SingleOrFail;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
use SingleOrFail;
|
||||
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
@@ -23,6 +26,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
SingleOrFail::bootSingleOrfail();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user