Switch bio to be stored in database
This commit is contained in:
parent
f51a740858
commit
bdb69df52d
14 changed files with 219 additions and 38 deletions
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
|
||||
use App\Http\Controllers\Admin\ArticlesController as AdminArticlesController;
|
||||
use App\Http\Controllers\Admin\BioController;
|
||||
use App\Http\Controllers\Admin\ClientsController;
|
||||
use App\Http\Controllers\Admin\ContactsController as AdminContactsController;
|
||||
use App\Http\Controllers\Admin\HomeController;
|
||||
|
@ -133,6 +134,12 @@ Route::group(['domain' => config('url.longurl')], function () {
|
|||
Route::put('/{syndicationTarget}', [SyndicationTargetsController::class, 'update']);
|
||||
Route::delete('/{syndicationTarget}', [SyndicationTargetsController::class, 'destroy']);
|
||||
});
|
||||
|
||||
// Bio
|
||||
Route::group(['prefix' => 'bio'], function () {
|
||||
Route::get('/', [BioController::class, 'show'])->name('admin.bio.show');
|
||||
Route::put('/', [BioController::class, 'update']);
|
||||
});
|
||||
});
|
||||
|
||||
// Blog pages using ArticlesController
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue