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