VictorGonzalezToledo

Results 4 issues of VictorGonzalezToledo

Route group( 'middleware' => ... 'prefix' => ... 'as' => ... ) I was also able to use some "Route::resource:" with either except or only method. Finally, I added controllers...

In the sportrequest I make a validation 'withValidator' so a Country couldn't have two medals in the same sport. I didn't know how to make/access properly an array of selects/inputs...

$movies = Movie::with('ratings','category') ->withAvg('ratings', 'rating') ->orderByDesc('ratings_avg_rating') ->take(100) ->get();

Beginner level solution From Youtube challengue: https://www.youtube.com/watch?v=HrVu7y3bOeQ&t=47s