Commit 763f1d51 authored by Taylor Otwell's avatar Taylor Otwell

Use Redirect::guest in "auth" filter.

parent b042d46b
......@@ -35,7 +35,7 @@ App::after(function($request, $response)
Route::filter('auth', function()
{
if (Auth::guest()) return Redirect::route('login');
if (Auth::guest()) return Redirect::guest('login');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment