<commit_before><?php

\Route::group(['namespace' => 'Api', 'prefix' => 'api', 'middleware' => ['api']], function() {
    \Route::get('stats', 'Stats@getIndex');

    \Route::get('application/', 'Application@getApplication');

    \Route::controller('register/{event}', 'Register');

    \Route::controller('regions', 'Regions');
    \Route::controller('checkin', 'Checkin');
    \Route::get('region/{region}', 'Regions@getRegion');

    \Route::controller('events', 'Events');
    // TODO normalize "-" and "_", just need to make sure other things don't get confused.
    \Route::get('event/{event}', 'Events@getEvent');
    \Route::get('events/managed-by/{username}', 'Events@getManagedBy');
    \Route::get('events/volunteered-for', 'Events@getVolunteeredFor');

    \Route::get('registration/by-email/{email}', 'Registrations@getByEmail');
    \Route::get('registration/{registration}', 'Registrations@getRegistration');

    \Route::controller('promotions', 'Promotions');
    \Route::post('promotions/new', 'PromotionsController@postNew');
    \Route::post('promotions/delete', 'PromotionsController@postDelete');
    \Route::get('promotion/{promotion}', 'Promotions@getPromotion');
    
    \Route::get('token', 'TokenController@getToken');

    \Route::get('/i/{class}/{id}_{imagesize}.jpg', 'ImageController@redirectPhoto');
    \Route::get('/i/{class}/{id}_{imagesize}/{timestamp}.jpg', 'ImageController@showPhoto');

    \Route::controller('notify', 'Notify');
    \Route::controller('batches', 'Batches');
});<commit_msg>Revert that one change that thought that would break something but really doesn't<commit_after><?php

\Route::group(['namespace' => 'Api', 'prefix' => 'api', 'middleware' => ['api']], function() {
    \Route::get('stats', 'Stats@getIndex');

    \Route::get('application/', 'Application@getApplication');

    \Route::controller('register/{event}', 'Register');

    \Route::controller('regions', 'Regions');
    \Route::controller('checkin', 'Checkin');
    \Route::get('region/{region}', 'Regions@getRegion');

    \Route::controller('events', 'Events');
    // TODO normalize "-" and "_", just need to make sure other things don't get confused.
    \Route::get('event/{event}', 'Events@getEvent');
    \Route::get('events/managed-by/{username}', 'Events@getManagedBy');
    \Route::get('events/volunteered-for', 'Events@getVolunteeredFor');

    \Route::get('registration/by-email/{email}', 'Registrations@getByEmail');
    \Route::get('registration/{registration}', 'Registrations@getRegistration');

    \Route::controller('promotions', 'Promotions');
    \Route::post('promotions/new', 'PromotionsController@postNew');
    \Route::post('promotions/delete', 'PromotionsController@postDelete');
    \Route::get('promotion/{promotion}', 'Promotions@getPromotion');
    
    \Route::get('token/{token}', 'TokenController@getToken');

    \Route::get('/i/{class}/{id}_{imagesize}.jpg', 'ImageController@redirectPhoto');
    \Route::get('/i/{class}/{id}_{imagesize}/{timestamp}.jpg', 'ImageController@showPhoto');

    \Route::controller('notify', 'Notify');
    \Route::controller('batches', 'Batches');
});
{'fraction_non_alphanumeric': 0.2229299363057325, 'fraction_numerical': 0.0, 'mean_word_length': 5.828260869565217, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '488304', 'n_tokens_mistral': 957, 'n_tokens_neox': 928, 'n_words': 138}