method
no_routes
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::Routing::ConsoleFormatter
no_routes()public
No documentation available.
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 163
def no_routes
@buffer << You don't have any routes defined! Please add some routes in config/routes.rb. For more information about routes, see the Rails guide: http://guides.rubyonrails.org/routing.html..strip_heredoc
end