This commit is contained in:
2023-11-29 16:00:03 +05:00
parent ede8513ebf
commit 70161a8fcc
2 changed files with 3 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Providers; namespace App\Providers;
// use Illuminate\Support\Facades\Gate; // use Illuminate\Support\Facades\Gate;
use App\Policies\UserPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider class AuthServiceProvider extends ServiceProvider
@@ -13,7 +14,7 @@ class AuthServiceProvider extends ServiceProvider
* @var array<class-string, class-string> * @var array<class-string, class-string>
*/ */
protected $policies = [ protected $policies = [
// User::class => UserPolicy::class,
]; ];
/** /**

View File

@@ -13,6 +13,4 @@ use Illuminate\Support\Facades\Route;
| |
*/ */
Route::get('/', function () { Reoute::redirect('/', config('nova.path'));
return view('welcome');
});