Merge branch 'module_gallery' into dev
This commit is contained in:
@@ -77,7 +77,7 @@ class GalleryServiceProvider extends ServiceProvider
|
|||||||
$registrator->setModuleId(call_user_func([config('gallery.handler'), 'getModuleId']));
|
$registrator->setModuleId(call_user_func([config('gallery.handler'), 'getModuleId']));
|
||||||
|
|
||||||
// register path with current template name
|
// register path with current template name
|
||||||
$registrator->register(config('app.theme'), 'gallery::admin.templatePath');
|
$registrator->register(config('app.theme'), 'gallery::admin/adminMenu.templatePath');
|
||||||
} catch (InvalidArgumentException $e) {
|
} catch (InvalidArgumentException $e) {
|
||||||
// ignore this exception
|
// ignore this exception
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
return [
|
||||||
|
'templatePath' => 'Gallery templates'
|
||||||
|
];
|
||||||
Reference in New Issue
Block a user