* Update module generation #714 * Fix method signatures * Fix paths within stubs, use single provider.stub file * Add separate index controller * Update module generation #714 * Fix method signatures * Fix paths within stubs, use single provider.stub file * Update module generation Disable/lower the cache time as found as a workaround in https://github.com/nWidart/laravel-modules/issues/995 * Update editorconfig for line endings * Formatting * Formatting
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<?php
|
||||
|
||||
Route::group(['middleware' => [
|
||||
'role:user' # leave blank to make this public
|
||||
]], function() {
|
||||
# all your routes are prefixed with the above prefix
|
||||
# e.g. yoursite.com/sample
|
||||
Route::get('/', '$STUDLY_NAME$Controller@index');
|
||||
});
|
||||
Route::get('/', '$STUDLY_NAME$Controller@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');
|
||||
// })
|
||||
|
||||
Reference in New Issue
Block a user