|
@@ -21,15 +21,15 @@ |
|
|
block discarded – undo |
|
21
|
21
|
use function Flextype\Component\I18n\__; |
|
22
|
22
|
|
|
23
|
23
|
// Add Admin Navigation |
|
24
|
|
-$flextype->registry->set('plugins.admin.settings.navigation.extends.themes', ['title' => __('themes_admin_themes'),'icon' => 'fas fa-palette', 'link' => $flextype->router->pathFor('admin.themes.index')]); |
|
|
24
|
+$flextype->registry->set('plugins.admin.settings.navigation.extends.themes', ['title' => __('themes_admin_themes'), 'icon' => 'fas fa-palette', 'link' => $flextype->router->pathFor('admin.themes.index')]); |
|
25
|
25
|
|
|
26
|
26
|
// Add ThemesController |
|
27
|
|
-$flextype['ThemesController'] = static function ($container) { |
|
|
27
|
+$flextype['ThemesController'] = static function($container) { |
|
28
|
28
|
return new ThemesController($container); |
|
29
|
29
|
}; |
|
30
|
30
|
|
|
31
|
31
|
// Add TemplatesController |
|
32
|
|
-$flextype['TemplatesController'] = static function ($container) { |
|
|
32
|
+$flextype['TemplatesController'] = static function($container) { |
|
33
|
33
|
return new TemplatesController($container); |
|
34
|
34
|
}; |
|
35
|
35
|
|
Please login to merge, or discard this patch.