Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/01/2013, 10:51
Montes28
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
problema con laravel

hola amigos me estoy iniciando en el framework , y estoy siguiendo el videotutorial http://www.youtube.com/watch?v=Zz_R73eW3OU laravel controller ,action,passing data

en controllers cree un archivo authors.php
- laravel
-application
-controllers
authors.php

authors.php contiene

Código PHP:
Ver original
  1. <?
  2.  
  3. class Authors_Controller extends Base_Controller {
  4.  
  5.     public $restful = true;
  6.     public function get_index() {
  7.         return View::make('authors.index');
  8.    
  9.     }
  10.  
  11.  
  12. }

routes.php
Código PHP:
Ver original
  1. Route::get('authors',array('uses'=>'authors@index'));

y en la vista cree un carpeta
-views
-authors
index.php


y en index.php

Código HTML:
Ver original
  1. <h1>AUTORES </h1>


y al verificar en el navedor http://localhost/laravel/public/authors obtengo

Not Found

The requested URL /laravel/public/authors was not found on this server.


que estoy haciendo mal