mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
|
|
|
Route::group(['middleware' => ['web']], function () {
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Public Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
Route::get('/', function () {
|
|
return view('website.home');
|
|
});
|
|
|
|
Route::get('/contact', function() {
|
|
return view('website.contact');
|
|
});
|
|
|
|
Route::post('/contact-submit', 'ContactController@postContactSubmit');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Content Management Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
// Authentication
|
|
Route::get('auth/login', 'Auth\AuthController@getLogin');
|
|
Route::post('auth/login', 'Auth\AuthController@postLogin');
|
|
Route::get('auth/logout', 'Auth\AuthController@getLogout');
|
|
|
|
// Registration
|
|
Route::get('auth/register', 'Auth\AuthController@getRegister');
|
|
Route::post('auth/register', 'Auth\AuthController@postRegister');
|
|
});
|