Adding CMS routes

This commit is contained in:
Christophe LATOUR 2017-09-29 16:29:23 +02:00
parent c8f3d81ed1
commit 03ea01f560
2 changed files with 18 additions and 0 deletions

View 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
{
}

View File

@ -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