Kohana_HTTP_Exception [404]: 在此服务器上找不到请求的 URL Line/id

Kohana_HTTP_Exception [ 404 ]: The requested URL Line/id was not found on this server

Screenshot of the Error

无法从控制器显示我的方法 id

我试图访问我的方法 ID,但出现错误。 我去哪里错了吗?

<?php defined('SYSPATH')  or die('No Direct Script Access');

Class Controller_Line extends Controller
{
    public function action_index()
    {
       echo "<h1> Demonstration : KOHANA </h1>";
       echo "This is a Line 1.<br>";
       echo "This is a Line 2.<br>";
       echo "This is a Line 3.<br>";
       echo "This is a Line 4.<br>";
    }

    public function id()
    {
      echo "this is method id";
    }
 }

 ?>

控制器操作需要以 action_ 为前缀,路由器才能调用它。所以方法需要命名为action_id()