Rename dashboard to home.

This commit is contained in:
Taylor Otwell
2014-11-24 19:33:07 -06:00
parent 7a7e366da5
commit 634c96d8d9
6 changed files with 7 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ class AuthController extends Controller {
$this->auth->login($user);
return redirect('/dashboard');
return redirect('/home');
}
/**
@@ -88,7 +88,7 @@ class AuthController extends Controller {
if ($this->auth->attempt($credentials, $request->has('remember')))
{
return redirect('/dashboard');
return redirect('/home');
}
return redirect('/auth/login')

View File

@@ -126,7 +126,7 @@ class PasswordController extends Controller {
{
$this->auth->login(User::where('email', $email)->firstOrFail());
return redirect('/dashboard');
return redirect('/home');
}
}

View File

@@ -1,6 +1,6 @@
<?php namespace App\Http\Controllers;
class DashboardController extends Controller {
class HomeController extends Controller {
/**
* Create a new controller instance.