1

Laravel 4 を使用してサンプルの例を実行しようとしていますが、クラスが見つからないなどのエラーが発生します。誰かがここで私を助けてくれますか?

コントローラーファイル名:authors.php

<?php

class Authors extends BaseController {

    public $restful = true;

    public function get_index() {
        return View::make('authors.index');
    }   
}
?>

ルート.php

Route::get('authors', array('uses'=>'authors@index')); 

ビュー/著者/index.php

<h1> First program in Laravel 4 </h1>
4

1 に答える 1