class VolumeColorSortSequenceController 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.

Response
index(int $id)

List all color sort sequence colors of the specified volume.

Response
show(int $id, string $color)

Show the sequence of images sorted by a specific color.

Response
store(StoreColorSortSequence $request)

Request a new color sort sequence.

Response
destroy(int $id, string $color)

Delete a color sort sequence.

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 36
Response index(int $id)

List all color sort sequence colors of the specified volume.

Parameters

int $id

Return Value

Response

at line 69
Response show(int $id, string $color)

Show the sequence of images sorted by a specific color.

Parameters

int $id
string $color

Return Value

Response

at line 98
Response store(StoreColorSortSequence $request)

Request a new color sort sequence.

Parameters

StoreColorSortSequence $request

Return Value

Response

at line 126
Response destroy(int $id, string $color)

Delete a color sort sequence.

Parameters

int $id
string $color

Return Value

Response