Merge branch 'module_gallery' into dev

This commit is contained in:
Michal Kváček
2016-04-03 02:39:09 +02:00
3 changed files with 5 additions and 1 deletions
View File
@@ -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'
];