Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/07/2013, 13:12
Montes28
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: error creando proyecto con laravel

eternoaprendiz gracias por responder

el app/routes.php me quedo asi
Código PHP:
Ver original
  1. <?php
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register all of the routes for an application.
  9. | It's a breeze. Simply tell Laravel the URIs it should respond to
  10. | and give it the Closure to execute when that URI is requested.
  11. |
  12. */
  13.  
  14. Route::get('/', array('before' => 'auth' ,function()
  15. {
  16.     return 'Hello, '.Auth::user()->email.'!';
  17. }));
  18.  
  19. Route::get('/login', function()
  20. {
  21.     return View::make('login');
  22. });
  23.  
  24. Route::post('/login', function()
  25. {
  26.     // Validation? Not in my quickstart!
  27.     // No, but really, I'm a bad person for leaving that out
  28.     Auth::attempt( array('email' => Input::get('email'), 'password' => Input::get('password')) );
  29.  
  30.     return Redirect::to('/');
  31. });

y el archivo htaccess no lo veo por ningun lado o lo tengo que crear?