class DashboardController extendsController

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,Modules$modules)

Show the application dashboard to the user.

Response
indexDashboard(Modules$modules,User$user)

Show the dashboard for a logged in user.

Response
indexLandingPage()

Show the landing page if no user is authenticated.

Details

inControllerat line21
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 line18
__construct()

Create a new instance.

at line32
Response index(Guard$auth,Modules$modules)

Show the application dashboard to the user.

Parameters

Guard $auth
Modules $modules

Return Value

Response

at line49
protectedResponse indexDashboard(Modules$modules,User$user)

Show the dashboard for a logged in user.

Parameters

Modules $modules
User $user

Return Value

Response

at line78
protectedResponse indexLandingPage()

Show the landing page if no user is authenticated.

Return Value

Response