restart
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Basket')->name('Basket.')->group(function () {
|
||||
Route::prefix('Panier')->name('Basket.')->group(function () {
|
||||
Route::post('getPrice', 'BasketController@getPrice')->name('getPrice');
|
||||
Route::post('addBasket', 'BasketController@addBasket')->name('addBasket');
|
||||
Route::get('modalBasket/{offer_id?}/{quantity?}', 'BasketController@modalBasket')->name('modalBasket');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Categories')->name('Categories.')->group(function () {
|
||||
Route::prefix('Rayons')->name('Categories.')->group(function () {
|
||||
Route::get('', 'CategoryController@index')->name('index');
|
||||
Route::any('show/{id}', 'CategoryController@show')->name('show');
|
||||
Route::get('getTree', 'CategoryController@getTree')->name('getTree');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Customers')->name('Customers.')->group(function () {
|
||||
Route::prefix('Clients')->name('Customers.')->group(function () {
|
||||
Route::get('show/{id}', 'CustomerController@show')->name('show');
|
||||
Route::get('profile/{id?}', 'CustomerController@profile')->name('profile');
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Invoices')->name('Invoices.')->group(function () {
|
||||
Route::prefix('Factures')->name('Invoices.')->group(function () {
|
||||
Route::get('show/{id}', 'InvoiceController@show')->name('show');
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Offers')->name('Offers.')->group(function () {
|
||||
Route::prefix('Offres')->name('Offers.')->group(function () {
|
||||
Route::get('show/{id}', 'OfferController@show')->name('show');
|
||||
});
|
||||
|
||||
|
||||
4
routes/Shop/OrderPayments.php
Normal file
4
routes/Shop/OrderPayments.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('OrderPayments', 'OrderPaymentController');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::middleware('auth')->prefix('Searches')->name('Searches.')->group(function () {
|
||||
Route::get('results/{search?}', 'SearchController@search')->name('search');
|
||||
Route::prefix('Recherche')->name('Searches.')->group(function () {
|
||||
Route::get('resultats/{search?}', 'SearchController@search')->name('search');
|
||||
});
|
||||
|
||||
|
||||
@@ -1,19 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');
|
||||
Route::post('login', 'Auth\LoginController@login')->name('login.post');
|
||||
Route::post('logout', 'Auth\LoginController@logout')->name('logout');
|
||||
Route::get('invite/{token?}/{event_id?}', 'Auth\LoginController@invite')->name('invite');
|
||||
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
|
||||
Route::get('password/request', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
|
||||
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->name('password.update');
|
||||
Route::get('password/reset/{token?}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
|
||||
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
|
||||
Route::post('register', 'Auth\RegisterController@register')->name('register.post');
|
||||
});
|
||||
|
||||
Route::prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
Route::prefix('')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
include __DIR__ . '/Articles.php';
|
||||
include __DIR__ . '/Baskets.php';
|
||||
include __DIR__ . '/Categories.php';
|
||||
@@ -22,5 +9,6 @@ Route::prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
include __DIR__ . '/Offers.php';
|
||||
include __DIR__ . '/Orders.php';
|
||||
include __DIR__ . '/Orders.php';
|
||||
include __DIR__ . '/OrderPayments.php';
|
||||
include __DIR__ . '/Searches.php';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user