Adding CMS routes
This commit is contained in:
parent
c8f3d81ed1
commit
03ea01f560
10
app/Web/Controllers/CmsController.php
Normal file
10
app/Web/Controllers/CmsController.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Web\Controllers;
|
||||
|
||||
use Antadis\API\Front\Web\Controllers\CmsController as BaseCmsController;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CmsController extends BaseCmsController
|
||||
{
|
||||
}
|
@ -58,6 +58,14 @@ $app->group(['middleware' => 'auth'], function() use ($app) {
|
||||
$app->get('/product/{id_product}', 'ProductController@get');
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CMS
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
$app->get('/cms', 'CmsController@lists');
|
||||
$app->get('/cms/{id_cms}', 'CmsController@get');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| CART ROUTES
|
||||
|
Loading…
Reference in New Issue
Block a user