Beispiel #1
0
 public function actionView(Application $app)
 {
     $deployments = Deployment::with(array('project', 'user'))->successful()->mostRecentFirst()->take(10)->get();
     $data = array('deployments' => $deployments);
     return $app['blade']->make('home', $data);
 }