mirror of
https://github.com/robonen/metr.git
synced 2026-03-20 10:54:41 +00:00
20 lines
624 B
PHP
20 lines
624 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\OfferController;
|
|
use App\Http\Controllers\OrderController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| API Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register API routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| is assigned the "api" middleware group. Enjoy building your API!
|
|
|
|
|
*/
|
|
|
|
Route::apiResource('/offers', OfferController::class);
|
|
Route::apiResource('/orders', OrderController::class);
|