Fix HTTP method of user signing

This follows commit 6f6e0a938aaf88b7b31eb25150033cfb5713f51b on branch v4.
This commit is contained in:
printempw 2018-08-07 10:40:20 +08:00
parent b5e060980a
commit 72f6dc2bd0

View File

@ -46,7 +46,7 @@ Route::group(['prefix' => 'auth'], function ()
Route::group(['middleware' => 'auth', 'prefix' => 'user'], function ()
{
Route::any ('', 'UserController@index');
Route::any ('/sign', 'UserController@sign');
Route::post('/sign', 'UserController@sign');
// Profile
Route::get ('/profile', 'UserController@profile');