eternoaprendiz gracias por responder
el app/routes.php me quedo asi
Código PHP:
Ver original<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/
Route
::get('/', array('before' => 'auth' ,function(){
return 'Hello, '.Auth::user()->email.'!';
}));
Route::get('/login', function()
{
return View::make('login');
});
Route::post('/login', function()
{
// Validation? Not in my quickstart!
// No, but really, I'm a bad person for leaving that out
Auth
::attempt( array('email' => Input
::get('email'), 'password' => Input
::get('password')) );
return Redirect::to('/');
});
y el archivo htaccess no lo veo por ningun lado o lo tengo que crear?