Changed route to point to /dashboard

This commit is contained in:
2018-06-01 22:26:39 +02:00
parent 6ee28c4062
commit 345dd12b63
5 changed files with 9 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ class LoginController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/dashboard';
/**
* Create a new controller instance.

View File

@@ -28,7 +28,7 @@ class RegisterController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/dashboard';
/**
* Create a new controller instance.

View File

@@ -25,7 +25,7 @@ class ResetPasswordController extends Controller
*
* @var string
*/
protected $redirectTo = '/home';
protected $redirectTo = '/dashboard';
/**
* Create a new controller instance.

View File

@@ -6,5 +6,9 @@ use Illuminate\Http\Request;
class PagesController extends Controller
{
//
function dashboard() {
return view('dashboard')->with([
]);
}
}

View File

@@ -17,4 +17,4 @@ Route::get('/', function () {
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/dashboard', 'PagesController@dashboard');