class UserPinnedProjectController 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).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

mixed
index(Request$request)

Shows all pinned projects of the user.

mixed
store(StorePinnedProject$request)

Pin a project.

mixed
destroy(DestroyPinnedProject$request)

Unpin a project.

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

inControllerat line15
protectedRedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line34
mixed index(Request$request)

Shows all pinned projects of the user.

Parameters

Request $request

Return Value

mixed

at line53
mixed store(StorePinnedProject$request)

Pin a project.

Parameters

StorePinnedProject $request

Return Value

mixed

at line77
mixed destroy(DestroyPinnedProject$request)

Unpin a project.

Parameters

DestroyPinnedProject $request

Return Value

mixed