Rename middleware to more "action" words.

This commit is contained in:
Taylor Otwell
2014-11-11 12:51:55 -06:00
parent d2aebd283e
commit ca2f02284c
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ use Closure;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Routing\Middleware;
class Authenticated implements Middleware {
class Authenticate implements Middleware {
/**
* The Guard implementation.

View File

@@ -5,7 +5,7 @@ use Illuminate\Contracts\Auth\Guard;
use Illuminate\Http\RedirectResponse;
use Illuminate\Contracts\Routing\Middleware;
class IsGuest implements Middleware {
class RedirectIfAuthenticated implements Middleware {
/**
* The Guard implementation.