user()->can('edit', $this->expense); } // public function prepareForValidation() // { // $input = $this->all(); // //$input['id'] = $this->encodePrimaryKey($input['id']); // $this->replace($input); // } }