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

RedirectResponse
fuzzyRedirect()

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

Collection
index(int $id)

Displays the users belonging to the specified project.

update(UpdateProjectUser $request)

Updates the attributes of the specified user in the specified project.

attach(AttachProjectUser $request)

Adds a new user to the specified project.

destroy(DestroyProjectUser $request)

Removes a user form the specified project.

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

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

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

Return Value

RedirectResponse

at line 41
Collection index(int $id)

Displays the users belonging to the specified project.

Parameters

int $id

Return Value

Collection

at line 64
update(UpdateProjectUser $request)

Updates the attributes of the specified user in the specified project.

Parameters

UpdateProjectUser $request

at line 87
attach(AttachProjectUser $request)

Adds a new user to the specified project.

Parameters

AttachProjectUser $request

at line 108
destroy(DestroyProjectUser $request)

Removes a user form the specified project.

Parameters

DestroyProjectUser $request