@@ -10,32 +10,32 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | public function register() |
| 12 | 12 | { |
| 13 | - Menu::macro('back', function () { |
|
| 13 | + Menu::macro('back', function() { |
|
| 14 | 14 | return Menu::new() |
| 15 | 15 | ->setActiveClass('-active') |
| 16 | 16 | ->setActiveFromRequest('/blender'); |
| 17 | 17 | }); |
| 18 | 18 | |
| 19 | - Menu::macro('moduleGroup', function ($title) { |
|
| 19 | + Menu::macro('moduleGroup', function($title) { |
|
| 20 | 20 | return Menu::back() |
| 21 | 21 | ->addParentClass('menu_group') |
| 22 | 22 | ->setParentAttribute('data-menu-group', fragment("back.nav.{$title}")) |
| 23 | - ->registerFilter(function (Link $link) { |
|
| 23 | + ->registerFilter(function(Link $link) { |
|
| 24 | 24 | $link->addParentClass('menu_group_item'); |
| 25 | 25 | }); |
| 26 | 26 | }); |
| 27 | 27 | |
| 28 | - Menu::macro('startSecondary', function () { |
|
| 29 | - return $this->registerFilter(function (Link $link) { |
|
| 28 | + Menu::macro('startSecondary', function() { |
|
| 29 | + return $this->registerFilter(function(Link $link) { |
|
| 30 | 30 | $link->addParentClass('-secondary'); |
| 31 | 31 | }); |
| 32 | 32 | }); |
| 33 | 33 | |
| 34 | - Menu::macro('module', function (string $action, string $name) { |
|
| 34 | + Menu::macro('module', function(string $action, string $name) { |
|
| 35 | 35 | return $this->action("Back\\{$action}", fragment("back.{$name}")); |
| 36 | 36 | }); |
| 37 | 37 | |
| 38 | - Menu::macro('backMain', function () { |
|
| 38 | + Menu::macro('backMain', function() { |
|
| 39 | 39 | return Menu::back() |
| 40 | 40 | ->addClass('menu_groups') |
| 41 | 41 | ->setAttribute('data-menu-groups') |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | ); |
| 68 | 68 | }); |
| 69 | 69 | |
| 70 | - Menu::macro('backUser', function () { |
|
| 70 | + Menu::macro('backUser', function() { |
|
| 71 | 71 | |
| 72 | - $avatar = HTML::avatar(current_user(), '-small') . |
|
| 72 | + $avatar = HTML::avatar(current_user(), '-small'). |
|
| 73 | 73 | el('span.:response-desktop-only', current_user()->email); |
| 74 | 74 | |
| 75 | 75 | return Menu::new() |