'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']); });