Add homepage

This commit is contained in:
Ludovic CANDELLIER
2022-03-30 22:23:57 +02:00
parent c50bd2aead
commit eff2cb21c7
27 changed files with 1200 additions and 2549 deletions

View File

@@ -0,0 +1,10 @@
<?php
Route::prefix('Homepages')->name('Homepages.')->group(function () {
Route::get('', 'HomepageController@index')->name('index');
Route::get('create', 'HomepageController@create')->name('create');
Route::delete('destroy/{id?}', 'HomepageController@destroy')->name('destroy');
Route::post('update', 'HomepageController@update')->name('update');
Route::post('store', 'HomepageController@store')->name('store');
Route::get('edit/{id}', 'HomepageController@edit')->name('edit');
});

View File

@@ -7,6 +7,7 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
include __DIR__ . '/Categories.php';
include __DIR__ . '/Customers.php';
include __DIR__ . '/Deliveries.php';
include __DIR__ . '/Homepages.php';
include __DIR__ . '/InvoiceItems.php';
include __DIR__ . '/Invoices.php';
include __DIR__ . '/Offers.php';