Commit 56a1baed authored by Jason Lewis's avatar Jason Lewis

Fix parameters for the AuthFilter.

Signed-off-by: 's avatarJason Lewis <jason.lewis1991@gmail.com>
parent 2b04647b
<?php namespace App\Http\Filters;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
use Auth, Redirect, Response;
class AuthFilter {
......@@ -8,10 +9,11 @@ class AuthFilter {
/**
* Run the request filter.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function filter(Request $request)
public function filter(Route $route, Request $request)
{
if (Auth::guest())
{
......
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