mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
45 lines
1.2 KiB
PHP
45 lines
1.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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);
|
|
});
|