Enabled registering through the API

This commit is contained in:
Hillel Coren 2016-03-08 23:24:06 +02:00
parent 6aafb9154d
commit b9bbec8d9d

View File

@ -227,7 +227,7 @@ Route::group(['middleware' => 'api', 'prefix' => 'api/v1'], function()
{
Route::get('ping', 'ClientApiController@ping');
Route::post('login', 'AccountApiController@login');
Route::get('register', 'AccountApiController@register');
Route::post('register', 'AccountApiController@register');
Route::get('static', 'AccountApiController@getStaticData');
Route::get('accounts', 'AccountApiController@show');
Route::put('accounts', 'AccountApiController@update');