Fix HTTP method of user signing

This commit is contained in:
Pig Fang 2018-08-07 09:54:56 +08:00
parent 4e9c0b9d45
commit 061f7ff6f8

View File

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