方法
实例公共方法
header(routes) 链接
no_routes(engine, routes, filter) 链接
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 292 def no_routes(engine, routes, filter) @buffer << if filter.none? "No unused routes found." elsif filter.key?(:controller) "No unused routes found for this controller." elsif filter.key?(:grep) "No unused routes found for this grep pattern." end end