方法
类公共方法
new(view) 链接
实例公共方法
header(routes) 链接
页眉是HTML页面的一部分,因此我们不会在这里构建它。
no_routes(*) 链接
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 303 def no_routes(*) @buffer << <<~MESSAGE <p>You don't have any routes defined!</p> <ul> <li>Please add some routes in <tt>config/routes.rb</tt>.</li> <li> For more information about routes, please see the Rails guide <a href="https://guides.rubyonrails.net.cn/routing.html">Rails Routing from the Outside In</a>. </li> </ul> MESSAGE end