first(); if (!$user) App::abort('404'); return View::make('artists.profile'); } public function getShortlink($id) { $user = User::find($id); if (!$user) App::abort('404'); return Redirect::action('ArtistsController@getProfile', [$id]); } }