2015-07-08 03:34:58 -04:00
|
|
|
<?php
|
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
Route::group(['middleware' => 'web'], function () {
|
2016-01-03 23:55:13 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Public Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
2015-07-08 03:34:58 -04:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
Route::get('/', function() {
|
|
|
|
Head::setTitle('Home');
|
|
|
|
return view('website.index');
|
2016-01-03 23:55:13 -05:00
|
|
|
});
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2016-01-03 23:55:13 -05:00
|
|
|
Route::get('/contact', function() {
|
2016-01-26 23:20:08 -05:00
|
|
|
Head::setTitle('Contact');
|
2016-01-03 23:55:13 -05:00
|
|
|
return view('website.contact');
|
|
|
|
});
|
2016-01-03 19:08:53 -05:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Post Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2016-01-03 23:55:13 -05:00
|
|
|
Route::post('/contact-submit', 'ContactController@postContactSubmit');
|
2016-01-26 23:20:08 -05:00
|
|
|
Route::post('/subscription-submit', 'SubscriptionController@postSubscriptionSubmit');
|
2016-01-03 19:08:53 -05:00
|
|
|
|
2016-01-03 23:55:13 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2016-01-26 23:20:08 -05:00
|
|
|
| Authentication Routes
|
2016-01-03 23:55:13 -05:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
Route::auth();
|
2015-12-01 01:07:03 -05:00
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Dashboard Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::group(['prefix' => 'dashboard'], function() {
|
|
|
|
Route::get('/', 'DashboardController@index');
|
|
|
|
Route::controller('', DashboardController::class);
|
|
|
|
});
|
2016-01-03 23:55:13 -05:00
|
|
|
});
|