fixing routes

This commit is contained in:
Saeed Vaziry
2024-10-07 00:18:11 +02:00
parent a94d1d42d2
commit 8bf1cc141e
22 changed files with 70 additions and 522 deletions

View File

@ -5,10 +5,9 @@
use App\Helpers\FTP;
use App\Helpers\Notifier;
use App\Helpers\SSH;
use App\Helpers\Toast;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Http\Resources\Json\ResourceCollection;
use Illuminate\Support\ServiceProvider;
use Laravel\Fortify\Fortify;
class AppServiceProvider extends ServiceProvider
{
@ -17,12 +16,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
//
Fortify::ignoreRoutes();
}
/**
* @throws BindingResolutionException
*/
public function boot(): void
{
ResourceCollection::withoutWrapping();
@ -34,9 +30,6 @@ public function boot(): void
$this->app->bind('notifier', function () {
return new Notifier;
});
$this->app->bind('toast', function () {
return new Toast;
});
$this->app->bind('ftp', function () {
return new FTP;
});