Skip to content

Commit

Permalink
Fixes #8051 regression
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed May 14, 2020
1 parent 0550fe0 commit e4385c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Http/Requests/AssetRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ public function authorize()
*/
public function rules()
{
// Below, asset_tag is duplicated here and in the model, largely because
// the functional tests will fail because of the way Form Requests work in
// Laravel.
$rules = [
'asset_tag' => 'required|min:1|max:255|unique_undeleted',
'name' => 'max:255|nullable',
'model_id' => 'required|integer|exists:models,id',
'status_id' => 'required|integer|exists:status_labels,id',
Expand Down

0 comments on commit e4385c0

Please sign in to comment.