Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Remove unused API routes
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhqc committed Aug 10, 2019
1 parent 7a2025c commit 2ee4a85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
19 changes: 0 additions & 19 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ public function boot()
*/
public function map()
{
$this->mapApiRoutes();

$this->mapWebRoutes();

//
}

/**
Expand All @@ -55,19 +51,4 @@ protected function mapWebRoutes()
->namespace($this->namespace)
->group(base_path('routes/web.php'));
}

/**
* Define the "api" routes for the application.
*
* These routes are typically stateless.
*
* @return void
*/
protected function mapApiRoutes()
{
Route::prefix('api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
}
}
18 changes: 0 additions & 18 deletions routes/api.php

This file was deleted.

0 comments on commit 2ee4a85

Please sign in to comment.