01 2020
This commit is contained in:
parent
f117f79bb9
commit
3711fcc8d0
101 changed files with 4027 additions and 918 deletions
|
|
@ -82,6 +82,10 @@ Route::domain(config('app.pre_url_main').config('app.domain').config('app.tld_ca
|
|||
|
||||
Route::get('/kontakt', 'Web\ContactController@create')->name('contact_create');
|
||||
Route::post('/kontakt', 'Web\ContactController@store')->name('contact_store');
|
||||
|
||||
Route::get('/registrierung', 'Web\RegisterController@index')->name('register_user');
|
||||
Route::post('/registrierung', 'Web\RegisterController@register')->name('register_user');
|
||||
|
||||
Route::get('/', 'Web\SiteController@index')->name('/');
|
||||
|
||||
/* Route::get('/card/add/{id}/{quantity?}/{product_slug?}', 'Web\CardController@addToCardGet')->name('base.card_add_get');
|
||||
|
|
@ -144,8 +148,22 @@ Route::domain(config('app.pre_url_crm').config('app.domain').config('app.tld_car
|
|||
|
||||
Route::group(['middleware' => ['auth']], function() {
|
||||
Route::get('/user_blocked', 'HomeController@blocked')->name('user_blocked');
|
||||
Route::get('/wizard/{step?}', 'WizardController@show')->name('wizard');
|
||||
Route::post('/wizard/store/{step?}', 'WizardController@store')->name('wizard_store');
|
||||
Route::get('/wizard-create', 'WizardController@create')->name('wizard_create');
|
||||
Route::get('/wizard-register', 'WizardController@register')->name('wizard_register');
|
||||
|
||||
Route::post('/wizard/store/create/{step?}', 'WizardController@storeCreate')->name('wizard_store_create');
|
||||
Route::post('/wizard/store/register/{step?}', 'WizardController@storeRegister')->name('wizard_store_register');
|
||||
|
||||
Route::get('/wizard/delete/file/{id}/{relation}', 'WizardController@delete')->name('wizard_delete_file');
|
||||
|
||||
Route::get('/storage/file/{id}/{disk}', function($id = null, $disk = null)
|
||||
{
|
||||
$file = \App\Models\File::findOrFail($id);
|
||||
$path = Storage::disk($disk)->path($file->dir.$file->filename);
|
||||
if (file_exists($path)) {
|
||||
return Response::file($path);
|
||||
}
|
||||
})->name('storage_file');
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -262,6 +280,10 @@ Route::domain(config('app.pre_url_crm').config('app.domain').config('app.tld_car
|
|||
|
||||
Route::get('/admin/lead/change_mail/{id}', 'UserUpdateEmailController@adminChangeMail')->name('admin_lead_change_mail');
|
||||
Route::post('/admin/lead/change_mail/{id}', 'UserUpdateEmailController@adminUpdateMail')->name('admin_lead_change_mail');
|
||||
Route::get('/admin/lead/new_mail/verified/{id}', 'LeadController@newMailVerified')->name('admin_lead_new_mail_verified');
|
||||
Route::get('/admin/lead/new/released/{id}', 'LeadController@newReleased')->name('admin_lead_new_released');
|
||||
|
||||
|
||||
Route::post('/admin/lead/store', 'LeadController@store')->name('admin_lead_store');
|
||||
|
||||
Route::get('/admin/leads/datatable', 'LeadController@getLeads')->name('admin_leads_datatable');
|
||||
|
|
@ -365,6 +387,12 @@ $subDomainRouting = function (){
|
|||
Route::get('/agb', 'HomeController@legalAGB')->name('agb');
|
||||
Route::get('/kontakt', 'Web\ContactController@create')->name('contact_create');
|
||||
Route::post('/kontakt', 'Web\ContactController@store')->name('contact_store');
|
||||
|
||||
Route::get('/registrierung', 'Web\RegisterController@index')->name('register_user');
|
||||
Route::post('/registrierung', 'Web\RegisterController@register')->name('register_user');
|
||||
Route::get('/registrierung/finish', 'Web\RegisterController@finish')->name('register_user_finish');
|
||||
|
||||
|
||||
Route::get('/', 'Web\SiteController@index')->name('');
|
||||
Route::get('/user/card/add/{id}/{quantity?}/{product_slug?}', 'Web\CardController@addToCardGet')->name('user.card_add_get');
|
||||
Route::post('/user/card/add/{id}', 'Web\CardController@addToCardPost')->name('user.card_add_post');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue