Initial Route setup
This commit is contained in:
parent
9ceb47e451
commit
b8e9c1566f
@ -11,6 +11,20 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function () {
|
if (env('APP_ENV') === 'production') {
|
||||||
|
URL::forceScheme('https');
|
||||||
|
}
|
||||||
|
Route::get('/welcome', function () {
|
||||||
return view('welcome');
|
return view('welcome');
|
||||||
});
|
});
|
||||||
|
Auth::routes();
|
||||||
|
Route::get('/', [ 'uses' => 'PagesController@home']);
|
||||||
|
Route::get('home', [ 'uses' => 'PagesController@home']);
|
||||||
|
Route::group(['middleware' => 'auth'], function() {
|
||||||
|
Route::get('domains', [ 'uses' => 'PagesController@domains']);
|
||||||
|
Route::post('domains', [ 'uses' => 'PagesController@domains']);
|
||||||
|
Route::get('newrecord', [ 'uses' => 'PagesController@newrecord']);
|
||||||
|
Route::post('newrecord', [ 'uses' => 'PagesController@newrecord']);
|
||||||
|
Route::get('updaterecord', [ 'uses' => 'PagesController@updaterecord']);
|
||||||
|
Route::post('updaterecord', [ 'uses' => 'PagesController@updaterecord']);
|
||||||
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user