FEATURE: add blade template registration into templates

This commit is contained in:
Michal Kváček
2016-09-20 11:50:41 +02:00
parent f087da1b43
commit d43073a011
17 changed files with 191 additions and 108 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ return [
'alias' => 'sablona',
'description' => 'Sablona jednostrankova',
'files' => [
'routes.php'
__DIR__.'/routes.php'
]
];
+4 -3
View File
@@ -1,6 +1,7 @@
<?php
Route::group(['middleware' => 'web', 'prefix' => 'test', 'namespace' => 'Modules\Blog\Comments\Http\Controllers'], function()
Route::group(['middleware' => 'web', 'prefix' => 'test'], function()
{
Route::get('/neco-neco', 'CommentsController@index')->name('template.route');
Route::get('/', function() {
echo "ahoj";
})->name('template.route');
});