Skip to content

Commit

Permalink
Update RouteServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 31, 2024
1 parent 0cc10c0 commit 2b3a78c
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions src/Abstracts/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,8 @@

namespace Apiato\Core\Abstracts\Providers;

use Apiato\Core\Loaders\RoutesLoaderTrait;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as LaravelRouteServiceProvider;

abstract class RouteServiceProvider extends LaravelRouteServiceProvider
{
use RoutesLoaderTrait;

/**
* The controller namespace for the application.
*
* When present, controller route declarations will automatically be prefixed with this namespace.
*
* @var string|null
*/
// protected $namespace = 'App\\Http\\Controllers';

/**
* Define your route model bindings, pattern filters, etc.
*/
public function boot(): void
{
// $this->routes(function () {
// Route::middleware('api')
// ->prefix('api')
// ->group(base_path('routes/api.php'));
//
// Route::middleware('web')
// ->group(base_path('routes/web.php'));
// });
}

/**
* Define the routes for the application.
*/
public function map(): void
{
$this->runRoutesAutoLoader();
}
}

0 comments on commit 2b3a78c

Please sign in to comment.