/**
  * Default method for your controller. Render index page into browser.
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $product = [];
     $product = Product::all(['orderBy' => 'id desc']);
     $content = View::create('Apps.Views.product.index', ['records' => $product, 'links' => '', 'title' => 'Cygnite Framework - Crud Application']);
     return Response::make($content);
 }
 /**
  * Default method for your controller. Render index page into browser.
  * @access public
  * @return void
  */
 public function indexAction()
 {
     $product = array();
     $product = Product::all(array('orderBy' => 'id desc'));
     $this->render('index', array('records' => $product, 'links' => '', 'title' => 'Cygnite Framework - Crud Application'));
 }