<commit_before><?php

Route::filter('wardrobe.auth', function()
{
	$auth = Wardrobe::getWardrobeAuth();

	if ($auth->guest())
	{
		if (Request::ajax()) return Response::make('Unauthorized', 401);

		return Redirect::guest(route('wardrobe.admin.login', null, false));
	}
});<commit_msg>Fixes #42 - Fix the auth redirect url.<commit_after><?php

Route::filter('wardrobe.auth', function()
{
	$auth = Wardrobe::getWardrobeAuth();

	if ($auth->guest())
	{
		if (Request::ajax()) return Response::make('Unauthorized', 401);

		return Redirect::guest(URL::route('wardrobe.admin.login'));
	}
});
{'fraction_non_alphanumeric': 0.21294718909710392, 'fraction_numerical': 0.013628620102214651, 'mean_word_length': 6.538461538461538, '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': '5167964', 'n_tokens_mistral': 213, 'n_tokens_neox': 199, 'n_words': 36}