move stub files

This commit is contained in:
Nabeel Shahzad
2017-12-02 08:57:45 -06:00
parent 58a8d2cdbe
commit 185ce71208
41 changed files with 1 additions and 1 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');
});
});