예제 #1
0
 public function getIndex()
 {
     $albums = SFAlbum::all();
     $args = array('route' => self::$route, 'albums' => $albums);
     return View::make('backend.albums.index')->with($args);
 }
예제 #2
0
 public function getIndex()
 {
     $albums = SFAlbum::all();
     $args = array('albums' => $albums, 'route' => self::$route);
     return View::make('frontend.galleries.index')->with($args);
 }