FEATURE: add testing module
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php namespace Modules\Testingmodule\Http\Controllers;
|
||||
|
||||
use Pingpong\Modules\Routing\Controller;
|
||||
|
||||
class TestingModuleController extends Controller {
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('testingmodule::index');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::group(['middleware' => 'web', 'prefix' => 'testingmodule', 'namespace' => 'Modules\TestingModule\Http\Controllers'], function()
|
||||
{
|
||||
Route::get('/', 'TestingModuleController@index');
|
||||
});
|
||||
Reference in New Issue
Block a user