/** * Displaying artist profile settings form * * @return Response */ public function profile() { $profile = User::find(Auth::user()->id); $hubs = Hub::all(); return View::make('artist.settings', ['profile' => $profile, 'hubs' => $hubs]); }
/** * Show the list of existing hubs * * @return Response */ public function list_hubs() { $hubs = Hub::all(); return View::make('admin.hubs', ['hubs' => $hubs]); }