mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Merge pull request #11601 from vickyjaura183/bugfix/error_404_bulkcheckout
Error 404 fixed on submitting without mandatory field
This commit is contained in:
commit
1b657ee995
|
@ -12,6 +12,7 @@ use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use Illuminate\Support\Facades\Session;
|
use Illuminate\Support\Facades\Session;
|
||||||
|
use App\Http\Requests\AssetCheckoutRequest;
|
||||||
|
|
||||||
class BulkAssetsController extends Controller
|
class BulkAssetsController extends Controller
|
||||||
{
|
{
|
||||||
|
@ -239,7 +240,7 @@ class BulkAssetsController extends Controller
|
||||||
* Process Multiple Checkout Request
|
* Process Multiple Checkout Request
|
||||||
* @return View
|
* @return View
|
||||||
*/
|
*/
|
||||||
public function storeCheckout(Request $request)
|
public function storeCheckout(AssetCheckoutRequest $request)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->authorize('checkout', Asset::class);
|
$this->authorize('checkout', Asset::class);
|
||||||
|
|
Loading…
Reference in a new issue