FEATURE: add stub of module for comments

This commit is contained in:
Michal Kváček
2016-08-16 13:20:07 +02:00
parent e389760204
commit be81834aad
8 changed files with 177 additions and 0 deletions
@@ -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');
}
}
+6
View File
@@ -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');
});