a note to remember this tomorrow
This commit is contained in:
parent
5f8ac66036
commit
43d8474caa
1 changed files with 2 additions and 0 deletions
|
@ -513,6 +513,8 @@ class AssetModelsController extends Controller
|
|||
|
||||
$validator = Validator::make($data, $rules);
|
||||
|
||||
// Okay, this is the problem. Seems to be failing every time, kind of makes sense because it looks like
|
||||
// $rules is an empty array, but I need to wrap my head around this entire method a little more.
|
||||
if($validator->fails()){
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue