class DashboardController extends Controller

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

__construct()

Create a new instance.

Response
index(Guard $auth)

Show the application dashboard to the user.

Response
indexDashboard(User $user)

Show the dashboard for a logged in user.

Response
indexLandingPage()

Show the landing page if no user is authenticated.

Details

in Controller at line 21
bool isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

at line 16
__construct()

Create a new instance.

at line 29
Response index(Guard $auth)

Show the application dashboard to the user.

Parameters

Guard $auth

Return Value

Response

at line 45
protected Response indexDashboard(User $user)

Show the dashboard for a logged in user.

Parameters

User $user

Return Value

Response

at line 94
protected Response indexLandingPage()

Show the landing page if no user is authenticated.

Return Value

Response