Fix controller namespace in module generation #714
Updated Module Files
This commit is contained in:
parent
5df28eb027
commit
2c539d349d
@ -16,7 +16,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $namespace = '$MODULE_NAMESPACE$\$MODULE$\$CONTROLLER_NAMESPACE$';
|
||||
protected $namespace = '$MODULE_NAMESPACE$\$MODULE$\Http\Controllers';
|
||||
|
||||
/**
|
||||
* Called before routes are registered.
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
Route::get('/', '$STUDLY_NAME$Controller@index');
|
||||
Route::get('/', 'IndexController@index');
|
||||
|
||||
/*
|
||||
* To register a route that needs to be authentication, wrap it in a
|
||||
* Route::group() with the auth middleware
|
||||
*/
|
||||
// Route::group(['middleware' => 'auth'], function() {
|
||||
// Route::get('/', '$STUDLY_NAME$Controller@index');
|
||||
// Route::get('/', 'IndexController@index');
|
||||
// })
|
||||
|
Loading…
Reference in New Issue
Block a user