re-add missing stub files

This commit is contained in:
Nabeel Shahzad
2017-12-13 22:24:41 -06:00
parent 346ccfbd66
commit a3ec21c73d
42 changed files with 1250 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
Route::group(['middleware' => [
'role:admin|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');
# This is the admin path. Comment this out if you don't have
# an admin panel component.
Route::group([
'middleware' => ['role:admin'],
], function () {
Route::get('/admin', 'AdminController@index');
});
});