2013-07-10 27 views

回答

4

你不需要工匠 - 只需使用路由類本身:

<table> 
    <tr> 
     <th>Routes</th> 
    </tr> 
    @foreach(Route::getRoutes() as $name => $route) 
     <tr> 
      <td>{{ $name }}</td> 
     </tr> 
    @endforeach 
</table> 
+0

好的,謝謝主席先生。 – user2094178

+0

正在尋找,thanx! +1 – Gadoma