mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 17:50:22 -05:00
47 lines
1.4 KiB
PHP
47 lines
1.4 KiB
PHP
<?php
|
|
|
|
Route::group(['middleware' => 'web'], function () {
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Public Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
Route::get('/', function() {
|
|
Head::setTitle('Home');
|
|
return view('website.index');
|
|
});
|
|
|
|
Route::get('/contact', function() {
|
|
Head::setTitle('Contact');
|
|
return view('website.contact');
|
|
});
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Post Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
Route::post('/contact-submit', 'ContactController@postContactSubmit');
|
|
Route::post('/subscription-submit', 'SubscriptionController@postSubscriptionSubmit');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Authentication Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
Route::auth();
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Dashboard Routes
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
Route::group(['prefix' => 'dashboard'], function() {
|
|
Route::get('/', 'DashboardController@index');
|
|
Route::controller('', DashboardController::class);
|
|
});
|
|
});
|