mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
14 lines
615 B
PHP
14 lines
615 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::group(['middleware' => ['company_key_db','locale'], 'prefix' => 'api/v1'], function () {
|
|
|
|
Route::get('shop/products', 'Shop\ProductController@index');
|
|
Route::post('shop/clients', 'Shop\ClientController@store');
|
|
Route::post('shop/invoices', 'Shop\InvoiceController@store');
|
|
Route::get('shop/client/{contact_key}', 'Shop\ClientController@show');
|
|
Route::get('shop/invoice/{invitation_key}', 'Shop\InvoiceController@show');
|
|
Route::get('shop/product/{product_key}', 'Shop\ProductController@show');
|
|
Route::get('shop/profile', 'Shop\ProfileController@show');
|
|
}); |