StorageRequestController
class StorageRequestController 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).
from
Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from
Controller
Response
Response
show(int $id)
Show a storage request
Response
Response
Response
Response
Response
destroy(Request $request, int $id)
Delete a storage request with all its files.
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).
in
Controller at line 15
protected RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line 34
Response
store(StoreStorageRequest $request)
Initialize a new storage request
at line 54
Response
show(int $id)
Show a storage request
at line 75
Response
update(UpdateStorageRequest $request)
Submit a storage request
at line 106
Response
approve(ApproveStorageRequest $request)
Approve a storage request
at line 126
Response
reject(RejectStorageRequest $request)
Reject a storage request
at line 148
Response
extend(ExtendStorageRequest $request)
Extend a storage request
at line 170
Response
destroy(Request $request, int $id)
Delete a storage request with all its files.