Fix subrange update
This commit is contained in:
parent
545e0cfe04
commit
edcc5ea62e
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class UpdateSubRange extends StoreSubRange
|
|||
return \array_merge(parent::rules(), [
|
||||
'slug' => [
|
||||
'required',
|
||||
'unique:sub_ranges,slug,' . $this->id
|
||||
'unique:sub_ranges,slug,' . $this->subrange->id
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue