Use more modern request helper

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-11 20:28:24 -07:00
parent ae813ddf75
commit d20fad28e5
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -135,7 +135,7 @@
id="usersTable"
class="table table-striped snipe-table"
data-url="{{ route('api.users.index',
array('deleted'=> (Input::get('status')=='deleted') ? 'true' : 'false','company_id'=>e(Input::get('company_id')))) }}"
array('deleted'=> (request('status')=='deleted') ? 'true' : 'false','company_id' => e(request('company_id')))) }}"
data-export-options='{
"fileName": "export-users-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]