FEATURE: prepare for installing templates

This commit is contained in:
Michal Kváček
2016-09-20 00:46:32 +02:00
parent 7a681fd7f7
commit f087da1b43
22 changed files with 397 additions and 253 deletions
@@ -0,0 +1,8 @@
<?php
namespace Templates\Base\OnePage\Handlers;
use App\Handlers\Contracts\TemplateHandler;
abstract class OnePage implements TemplateHandler
{
}
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'handler' => \Templates\Base\OnePage\Handlers\OnePage::class,
'name' => 'Sablona',
'alias' => 'sablona',
'description' => 'Sablona jednostrankova',
'files' => [
'routes.php'
]
];
+6
View File
@@ -0,0 +1,6 @@
<?php
Route::group(['middleware' => 'web', 'prefix' => 'test', 'namespace' => 'Modules\Blog\Comments\Http\Controllers'], function()
{
Route::get('/neco-neco', 'CommentsController@index')->name('template.route');
});