aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/web.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
index 11eaa5c..7c1f90e 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -16,6 +16,7 @@ Route::get('/', function () {
Auth::routes();
Route::group(['middleware' => ['auth']], function () {
Route::get('profile', 'UserController@Profile');
+ Route::get('avatar/{user_id}', 'ImageController@getAvatar');
Route::get('/', ['as' => 'writeMessage', 'uses' => 'SocketController@writeMessage']);
Route::post('avatar', 'UserController@updateAvatar');