Example #1
0
 public function action_index()
 {
     $view = View::make('projects.index');
     $view->projects = Project::open_projects()->get();
     $this->layout->content = $view;
 }