FEATURE: add stub of module for comments
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php namespace Modules\Blog\Comments\Http\Controllers;
|
||||
|
||||
use Pingpong\Modules\Routing\Controller;
|
||||
|
||||
class CommentsController extends Controller {
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('articlelist::index');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::group(['middleware' => 'web', 'prefix' => 'comments', 'namespace' => 'Modules\Blog\Comments\Http\Controllers'], function()
|
||||
{
|
||||
Route::get('/', 'CommentsController@index')->name('comments.overview');
|
||||
});
|
||||
Reference in New Issue
Block a user