change homepages to contents, add new methods to deliveries and sale_channels by customer
This commit is contained in:
10
routes/Admin/Shop/Contents.php
Normal file
10
routes/Admin/Shop/Contents.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Contents')->name('Contents.')->group(function () {
|
||||
Route::get('', 'ContentController@index')->name('index');
|
||||
Route::get('create', 'ContentController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'ContentController@destroy')->name('destroy');
|
||||
Route::post('update', 'ContentController@update')->name('update');
|
||||
Route::post('store', 'ContentController@store')->name('store');
|
||||
Route::get('edit/{id}', 'ContentController@edit')->name('edit');
|
||||
});
|
||||
@@ -1,10 +0,0 @@
|
||||
<?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');
|
||||
});
|
||||
@@ -5,13 +5,13 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
|
||||
include_once __DIR__.'/ArticleNatures.php';
|
||||
include_once __DIR__.'/Articles.php';
|
||||
include_once __DIR__.'/Categories.php';
|
||||
include_once __DIR__.'/Contents.php';
|
||||
include_once __DIR__.'/Customers.php';
|
||||
include_once __DIR__.'/CustomerAddresses.php';
|
||||
include_once __DIR__.'/Deliveries.php';
|
||||
include_once __DIR__.'/DeliveryPackages.php';
|
||||
include_once __DIR__.'/DeliveryTypes.php';
|
||||
include_once __DIR__.'/DeliveryTypeCalculations.php';
|
||||
include_once __DIR__.'/Homepages.php';
|
||||
include_once __DIR__.'/InvoiceItems.php';
|
||||
include_once __DIR__.'/InvoicePayments.php';
|
||||
include_once __DIR__.'/Invoices.php';
|
||||
|
||||
Reference in New Issue
Block a user