FEATURE: add basic funcionality for template copies.

This commit contains only basic funcionality.
This commit is contained in:
Michal Kváček
2016-02-29 18:02:22 +01:00
parent 57e08b76a8
commit fa97ccc032
5 changed files with 76 additions and 19 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ Route::group([
Route::get('templates/overview/path/{id}', 'TemplateOverview@getPath')
->name('templates.overview');
Route::get('templates/copy/{id}', 'TemplateOverview@getPath')
->name('templates.copy');
Route::post('templates/copy', 'CopyTemplate@createCopy')
->name('templates.postCopy');
Route::get('templates/new/{pathId}', 'TemplateOverview@getPath')
->name('templates.new');