コード例 #1
0
 /**
  * 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]);
 }
コード例 #2
0
 /**
  * Show the list of existing hubs
  *
  * @return Response
  */
 public function list_hubs()
 {
     $hubs = Hub::all();
     return View::make('admin.hubs', ['hubs' => $hubs]);
 }