Merge branch 'develop' into trunk

This commit is contained in:
Olivier Legat 2022-03-19 11:59:38 +01:00
commit 4efed5f5b3
3 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,6 @@
## 19-03-2022
* legal RGPD routes always accessible
* privatisable routes
* quickorder route
* quickorder route activated by theme settings

View file

@ -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');

View file

@ -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.')