First attempt at implementing Twig.

This commit is contained in:
James Cole
2015-05-01 08:29:41 +02:00
parent 8b40d3346d
commit a0e501f9fd
11 changed files with 366 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ use Illuminate\Http\Request;
use Illuminate\Mail\Message;
use Mail;
use Session;
use Twig;
/**
* Class AuthController
@@ -47,6 +48,16 @@ class AuthController extends Controller
$this->middleware('guest', ['except' => 'getLogout']);
}
/**
* Show the application login form.
*
* @return \Illuminate\Http\Response
*/
public function getLogin()
{
return Twig::render('auth.login');
}
/**
* Handle a registration request for the application.
*