File: D:/HostingSpaces/ZelfVerkopen/zelfverkopen.nl/routes/web.php
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
//Route::get('/', function () {
// return view('welcome');
//});
//Register authentication routes
//Auth::routes(); //Orginal
Route::group(['prefix' => 'kms'], function(){
Auth::routes();
});
//Route::get('/shoppingcart', 'Shop\Cart\ShoppingCartController@index')->name('shoppingcart');
//Route::get('/addProductToShoppingcart', 'Shop\Cart\ShoppingCartController@addProductToShoppingcart');
//Route::post('/removeItemFromShoppingcart', 'Shop\Cart\ShoppingCartController@removeItemFromShoppingcart');
//Route::post('/setItemAmountInShoppingcart', 'Shop\Cart\ShoppingCartController@setItemAmountInShoppingcart');
Route::post('/login', 'Auth\LoginController@login')->name('siteLogin');
Route::post('/logout', 'Auth\LoginController@logout')->name('siteLogout');
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
Route::post('register', 'Auth\RegisterController@register');