Completed
Push — master ( 024767...e7bc73 )
by Henry Stivens
02:04
created
default/app/libs/scaffold_controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
default/app/libs/active_record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
default/app/controllers/pages_controller.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
default/app/models/user.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $this->begin();
18 18
         if ($this->create($data)) {
19 19
             //Intenta actualizar la foto
20
-            if($this->updatePhoto()){
20
+            if ($this->updatePhoto()) {
21 21
                 //Se confirma la transacción
22 22
                 $this->commit();
23 23
                 return true;
Please login to merge, or discard this patch.
default/app/libs/app_controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     final protected function initialize()
21 21
     {
22
-        session_start();//Para mostrar los mensajes Flash luego de un redirect
22
+        session_start(); //Para mostrar los mensajes Flash luego de un redirect
23 23
     }
24 24
 
25 25
     final protected function finalize()
Please login to merge, or discard this patch.