merge(['business_id' => $business, 'workflow_id' => $workflow])->except('_business_info')); return Business::info($business, true); } public function update($business, $workflow, $status, Request $request) { permit('businessStatuses'); $status = Status::findOrFail($status); $status->update($request->except('_business_info')); return Business::info($business, true); } public function delete($business, $workflow, $status) { permit('businessStatuses'); $status = Status::findOrFail($status); $status->delete(); return Business::info($business, true); } }