Created
March 8, 2018 01:44
-
-
Save jsdecena/2f9a3676b381e237425c104d3e88496d to your computer and use it in GitHub Desktop.
Route File for API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\Api\ArticlesApiController; | |
use Illuminate\Support\Facades\Route; | |
Route::group(['prefix' => 'v1'], function () { | |
Route::resource('articles', ArticlesApiController::class); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment