Refactor article getter for descriptions & tags, minor fixes on tags

This commit is contained in:
Ludovic CANDELLIER
2022-06-22 22:28:18 +02:00
parent 35310b049e
commit 1703082b3e
12 changed files with 148 additions and 37 deletions

View File

@@ -1,12 +1,11 @@
<?php
Route::prefix('Tags')->name('Tags.')->group(function () {
Route::get('', 'TagController@index')->name('index');
Route::get('create', 'TagController@create')->name('create');
Route::delete('destroy/{id?}', 'TagController@destroy')->name('destroy');
Route::post('update', 'TagController@update')->name('update');
Route::post('store', 'TagController@store')->name('store');
Route::get('edit/{id}', 'TagController@edit')->name('edit');
Route::get('', 'TagController@index')->name('index');
Route::get('create', 'TagController@create')->name('create');
Route::delete('destroy/{id?}', 'TagController@destroy')->name('destroy');
Route::post('update', 'TagController@update')->name('update');
Route::post('store', 'TagController@store')->name('store');
Route::get('edit/{id}', 'TagController@edit')->name('edit');
});