@@ -13,7 +13,7 @@ |
||
13 | 13 | /** @var string Nombre del modelo en CamelCase */ |
14 | 14 | public $model = ''; |
15 | 15 | |
16 | - public function index($page=1) |
|
16 | + public function index($page = 1) |
|
17 | 17 | { |
18 | 18 | $this->data = (new $this->model)->paginate("page: $page", 'order: id desc'); |
19 | 19 | } |
@@ -2,7 +2,7 @@ |
||
2 | 2 | /** |
3 | 3 | * @see KumbiaActiveRecord |
4 | 4 | */ |
5 | -require_once CORE_PATH.'libs/kumbia_active_record/kumbia_active_record.php'; |
|
5 | +require_once CORE_PATH . 'libs/kumbia_active_record/kumbia_active_record.php'; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * ActiveRecord |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $this->limit_params = false; |
34 | 34 | // Si es AJAX enviar solo el view |
35 | 35 | if (Input::isAjax()) { |
36 | - View::template(null); |
|
36 | + View::template(null); |
|
37 | 37 | } |
38 | 38 | } |
39 | 39 |