instance method
no_routes
Ruby on Rails 4.2.9
Since v4.0.13Signature
no_routes()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 214
def no_routes
@buffer << <<-MESSAGE.strip_heredoc
<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="http://guides.rubyonrails.org/routing.html">Rails Routing from the Outside In</a>.
</li>
</ul>
MESSAGE
end
Defined in actionpack/lib/action_dispatch/routing/inspector.rb line 214
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::HtmlTableFormatter