FEATURE #1431: add template edit

This commit is contained in:
Michal Kváček
2016-02-19 15:10:39 +01:00
parent 53395bc47a
commit 57e08b76a8
12 changed files with 413 additions and 14 deletions
+2 -2
View File
@@ -61,10 +61,10 @@ Route::group([
Route::get('templates/new/{pathId}', 'TemplateOverview@getPath')
->name('templates.new');
Route::get('templates/edit/{id}', 'TemplateOverview@getPath')
Route::get('templates/edit/{id}', 'EditTemplate@getEdit')
->name('templates.edit');
Route::post('templates/edit/{id}', 'TemplateOverview@getPath')
Route::post('templates/edit/{id}', 'EditTemplate@postEdit')
->name('templates.postEdit');
});