diff --git a/app/Http/Controllers/AssetsController.php b/app/Http/Controllers/AssetsController.php index 7ae1c205bb..72b767f59d 100755 --- a/app/Http/Controllers/AssetsController.php +++ b/app/Http/Controllers/AssetsController.php @@ -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