/** * * Index action. * List all available projects. * @return type */ public function get_index() { View::share('_title_', 'Githubdeploys Deploys Projects'); $projects = new Projects(); $data = array('projects' => $projects->getProjects()); return View::make('githubdeploys::githubdeploys.index-index', $data); }