예제 #1
0
 public static function index()
 {
     $count = new Utilities();
     $count->countDrinks();
     $drinks = Drink::findAll();
     View::make('drink/index.html', array('drinks' => $drinks, 'count' => $count));
 }