Skip to content

Commit

Permalink
Remove uncessary routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dedanirungu committed Jan 31, 2025
1 parent ecd163f commit 7fb4e5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
11 changes: 1 addition & 10 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function boot(): void
*/
public function map(): void
{
$this->mapApiRoutes();

$this->mapWebRoutes();
}
Expand All @@ -37,13 +36,5 @@ protected function mapWebRoutes(): void
Route::middleware('web')->group(module_path('Bill', '/routes/web.php'));
}

/**
* Define the "api" routes for the application.
*
* These routes are typically stateless.
*/
protected function mapApiRoutes(): void
{
Route::middleware('api')->prefix('api')->name('api.')->group(module_path('Bill', '/routes/api.php'));
}

}
12 changes: 0 additions & 12 deletions routes/api.php

This file was deleted.

0 comments on commit 7fb4e5b

Please sign in to comment.