FEATURE: add blog module stub
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
Route::group([
|
||||
'middleware' => 'web',
|
||||
'prefix' => 'article',
|
||||
'namespace' => 'Modules\Blog\Article\Http\Controllers'
|
||||
], function () {
|
||||
Route::get('/', 'CategoriesOverview@getOverview')
|
||||
->name('article.overview');
|
||||
|
||||
Route::get('/new', 'CreateNewCategory@getNew')
|
||||
->name('article.new');
|
||||
|
||||
Route::post('/new', 'CreateNewCategory@postNew')
|
||||
->name('article.postNew');
|
||||
|
||||
Route::get('/edit/{id}', 'EditCategory@getEdit')
|
||||
->name('article.edit');
|
||||
|
||||
Route::post('/edit/{id}', 'EditCategory@postEdit')
|
||||
->name('article.postEdit');
|
||||
|
||||
Route::get('/delete/{id}', 'EditCategory@delete')
|
||||
->name('article.delete');
|
||||
});
|
||||
Reference in New Issue
Block a user