diff options
author | Marvin Borner | 2018-07-13 19:06:45 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-13 19:06:45 +0200 |
commit | 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 (patch) | |
tree | dbc87ef16fa01d5d99116de283592b8fe5e02944 /routes/web.php | |
parent | dfd839f27146df0ad0494e11734fc7d310c70ebf (diff) |
Fixed many permissions and began admin interface
Diffstat (limited to 'routes/web.php')
-rwxr-xr-x[-rw-r--r--] | routes/web.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php index 78dc452..94b01bb 100644..100755 --- a/routes/web.php +++ b/routes/web.php @@ -19,6 +19,7 @@ Route::middleware('auth', 'throttle:30') // throttle to 30 per minute Route::get('/', ['as' => 'writeMessage', 'uses' => 'SocketController@writeMessage']); Route::get('avatar/{user_id}', 'ImageController@getAvatar'); Route::get('profile', 'UserController@Profile'); + Route::get('admin', 'AdminController@Overview'); Route::post('avatar', 'UserController@updateAvatar'); Route::post('sendMessage', 'SocketController@sendMessage'); |