Exemplo n.º 1
0
 public function get_index()
 {
     //        $this->data[$this->views] = Material::order_by('clave', 'asc')->get();
     $this->data[$this->views] = Material::order_by('clave', 'asc')->paginate(PER_PAGE_LARGE);
     return View::make('admin.' . $this->views . '.index', $this->data);
 }