/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request) { $tags = Tag::ofNombre($request->nombre)->with('instrumentos')->paginate(10); return view('tags.index', compact('tags')); }