/** * Display the specified resource. * * @param $hash * @return Response */ public function go($hash) { $url = Link::whereHash($hash)->firstOrFail(); $url->count++; $url->save(); return \Redirect::to($url->url); }