mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Merge upstream and fix changes.
This commit is contained in:
parent
9c4c91063f
commit
e9605891f3
|
@ -297,9 +297,8 @@ class AssetsController extends Controller
|
|||
* @return Redirect
|
||||
*/
|
||||
|
||||
public function postEdit($assetId = null, AssetRequest $request)
|
||||
public function postEdit(AssetRequest $request, $assetId = null)
|
||||
{
|
||||
exit;
|
||||
// Check if the asset exists
|
||||
if (!$asset = Asset::find($assetId)) {
|
||||
// Redirect to the asset management page with error
|
||||
|
|
Loading…
Reference in a new issue