Merge branch 'develop' into trunk
This commit is contained in:
commit
4efed5f5b3
3 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
## 19-03-2022
|
||||
|
||||
* legal RGPD routes always accessible
|
||||
* privatisable routes
|
||||
* quickorder route
|
||||
* quickorder route activated by theme settings
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ use App\Http\Controllers\Bo\OrdersController;
|
|||
|
||||
|
||||
Route::get('/', [HomeController::class, 'index'])->name('home');
|
||||
Route::get('/mentions-legales', [IndexController::class, 'legalNotice'])->name('legal-notice');
|
||||
Route::get('/cgv', [IndexController::class, 'terms'])->name('terms');
|
||||
Route::get('/politique-de-confidentialite', [IndexController::class, 'privacy'])->name('privacy');
|
||||
Route::get('/faq', [IndexController::class, 'faq'])->name('faq');
|
||||
|
||||
//Route::get('/mon-panier', [BasketController::class, 'index'])->name('basket');
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
// FRONT
|
||||
use App\Http\Controllers\IndexController;
|
||||
use App\Http\Controllers\CustomerController;
|
||||
// BO
|
||||
use App\Http\Controllers\Bo\DashboardController;
|
||||
|
|
@ -32,6 +33,11 @@ if ((bool) config('bosettings.private_shop')) {
|
|||
require_once __DIR__ . '/web-shop.php';
|
||||
}
|
||||
|
||||
//must always be public routes
|
||||
Route::get('/mentions-legales', [IndexController::class, 'legalNotice'])->name('legal-notice');
|
||||
Route::get('/politique-de-confidentialite', [IndexController::class, 'privacy'])->name('privacy');
|
||||
|
||||
|
||||
Route::namespace('App\Http\Controllers\Bo')
|
||||
->prefix('bo')
|
||||
->name('bo.')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue