<commit_before><?php


/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::group(['middleware' => 'auth:api', 'namespace' => 'Api'], function () {
    Route::any('', 'HomeController@index');
    Route::get('user', 'UserController@index');
    Route::get('user/orgs', 'UserController@orgs');
    Route::get('org', 'HomeController@org');
    Route::get('org/{id?}', 'OrgController@index');
    Route::post('org/{id?}', 'OrgController@password');
    Route::put('org/{id?}', 'OrgController@update');
    Route::delete('org/{id?}', 'OrgController@delete');
    Route::post('join/{id?}', 'OrgController@join');
    Route::get('stats', 'HomeController@stats');
});<commit_msg>:sparkles: Apply refractor also in routes<commit_after><?php


/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::group(['middleware' => 'auth:api', 'namespace' => 'Api'], function () {
    Route::any('', 'HomeController@index');
    Route::get('user', 'UserController@index');
    Route::get('user/orgs', 'UserController@orgs');
    Route::get('org', 'HomeController@org');
    Route::get('org/{org?}', 'OrgController@index');
    Route::post('org/{org?}', 'OrgController@password');
    Route::put('org/{org?}', 'OrgController@update');
    Route::delete('org/{org?}', 'OrgController@delete');
    Route::post('join/{org?}', 'OrgController@join');
    Route::get('stats', 'HomeController@stats');
});
{'fraction_non_alphanumeric': 0.3198439785470502, 'fraction_numerical': 0.0, 'mean_word_length': 2.6906474820143886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6561500', 'n_tokens_mistral': 543, 'n_tokens_neox': 534, 'n_words': 125}