instance method
header
Ruby on Rails 8.0.4
Since v7.1.6Signature
header(routes)
No documentation comment.
Parameters
-
routesreq
Source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 264
def header(routes)
@buffer << <<~MSG
Found #{routes.count} unused #{"route".pluralize(routes.count)}:
MSG
super
end
Defined in actionpack/lib/action_dispatch/routing/inspector.rb line 264
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::ConsoleFormatter::Unused