Remove route closures to allow route caching

This commit is contained in:
Jonny Barnes 2017-03-03 14:23:56 +00:00
parent 4024b18e65
commit 37f701b105
6 changed files with 48 additions and 17 deletions

View file

@ -6,6 +6,11 @@ use Illuminate\Http\Request;
class AuthController extends Controller
{
public function showLogin()
{
return view('login');
}
/**
* Log in a user, set a sesion variable, check credentials against
* the .env file.