<commit_before><?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('/', 'HomeController@getIndex');
Route::get('archive', 'PostController@index');
Route::get('post/{slug}', 'PostController@getShow');
Route::get('tag/{tag}', 'PostController@getTag');
Route::get('archive', 'PostController@getIndex');
Route::controller('post', 'PostController');
Route::controller('rss', 'RssController');

Route::get('wardrobe', 'AdminController@getIndex');
Route::get('wardrobe/logout', 'LoginController@getLogout');
Route::controller('wardrobe/login', 'LoginController');
Route::resource('api/post', 'ApiPostController');
Route::resource('api/tag', 'ApiTagController');
Route::resource('api/user', 'ApiUserController');
Route::controller('install', 'InstallController');

$theme_routes = __DIR__.'/../public/themes/'.Config::get('wardrobe.theme').'/routes.php';

if (file_exists($theme_routes))
{
  include $theme_routes;
}

/**
 * Password reset
 */
Route::get('password/reset/{token}', function($token)
{
    return View::make('admin.auth.reset')->with('token', $token);
});<commit_msg>Commenting and cleaning the routes file.<commit_after><?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('/', 'HomeController@getIndex');
Route::get('archive', 'PostController@index');
Route::get('post/{slug}', 'PostController@getShow');
Route::get('tag/{tag}', 'PostController@getTag');
Route::get('archive', 'PostController@getIndex');
Route::controller('post', 'PostController');
Route::controller('rss', 'RssController');
Route::controller('install', 'InstallController');

/**
 * Admin Routes
 */
Route::get('wardrobe', 'AdminController@getIndex');
Route::get('wardrobe/logout', 'LoginController@getLogout');
Route::controller('wardrobe/login', 'LoginController');
Route::resource('api/post', 'ApiPostController');
Route::resource('api/tag', 'ApiTagController');
Route::resource('api/user', 'ApiUserController');

/**
 * Allows themes complete control to over ride routes or add new ones.
 */
$theme_routes = base_path().'/public/themes/'.Config::get('wardrobe.theme').'/routes.php';

if (file_exists($theme_routes))
{
  include $theme_routes;
}

/**
 * Password reset
 */
Route::get('password/reset/{token}', function($token)
{
    return View::make('admin.auth.reset')->with('token', $token);
});
{'fraction_non_alphanumeric': 0.27388535031847133, 'fraction_numerical': 0.0, 'mean_word_length': 3.8363047001620747, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6149142', 'n_tokens_mistral': 810, 'n_tokens_neox': 810, 'n_words': 181}