Completed
Push — master ( 9a7125...f9bacd )
by Cheren
12:29 queued 10:39
created
plugin.manifest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
         'Community.UserEventHandler',
35 35
     ],
36 36
 
37
-    'Controller.initialize' => function (Controller $controller) {
37
+    'Controller.initialize' => function(Controller $controller) {
38 38
         $controller->loadComponent('Community.Auth');
39 39
         if ($controller->request->getParam('prefix') === 'admin') {
40 40
             $controller->loadComponent('Community.User');
41 41
         }
42 42
     },
43 43
 
44
-    'Controller.beforeFilter' => function (Controller $controller) {
44
+    'Controller.beforeFilter' => function(Controller $controller) {
45 45
         $user = new User((array) $controller->Auth->user());
46 46
         $controller->set('authorized', $user);
47 47
     },
48 48
 
49
-    'View.initialize' => function (AppView $view) {
49
+    'View.initialize' => function(AppView $view) {
50 50
         if ($view->request->getData('plugin') === 'Community') {
51
-            $view->Html->less(['Community.styles.less'], ['block' => true, 'fullBase' => true, 'force' => true]);
51
+            $view->Html->less([ 'Community.styles.less' ], [ 'block' => true, 'fullBase' => true, 'force' => true ]);
52 52
         }
53 53
     },
54 54
 
Please login to merge, or discard this patch.