Added route for button editor

Added routes for upcoming button editor.
See: https://blog.littlelink-custom.com/upcoming-features/
This commit is contained in:
Julian Prieber 2022-04-10 17:40:37 +02:00
parent c36e4b4b27
commit cb4de3f863
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ Route::get('/deleteLink/{id}', [UserController::class, 'deleteLink'])->name('del
Route::get('/upLink/{up}/{id}', [UserController::class, 'upLink'])->name('upLink'); Route::get('/upLink/{up}/{id}', [UserController::class, 'upLink'])->name('upLink');
Route::get('/studio/edit-link/{id}', [UserController::class, 'showLink'])->name('showLink'); Route::get('/studio/edit-link/{id}', [UserController::class, 'showLink'])->name('showLink');
Route::post('/studio/edit-link/{id}', [UserController::class, 'editLink'])->name('editLink'); Route::post('/studio/edit-link/{id}', [UserController::class, 'editLink'])->name('editLink');
Route::get('/studio/button-editor/{id}', [UserController::class, 'showCSS'])->name('showCSS');
Route::post('/studio/button-editor/{id}', [UserController::class, 'editCSS'])->name('editCSS');
Route::get('/studio/page', [UserController::class, 'showPage'])->name('showPage'); Route::get('/studio/page', [UserController::class, 'showPage'])->name('showPage');
Route::get('/studio/no_page_name', [UserController::class, 'showPage'])->name('showPage'); Route::get('/studio/no_page_name', [UserController::class, 'showPage'])->name('showPage');
Route::post('/studio/page', [UserController::class, 'editPage'])->name('editPage'); Route::post('/studio/page', [UserController::class, 'editPage'])->name('editPage');