instance method
internal?
Ruby on Rails 4.2.9
Since v4.0.13 Last seen in v6.1.7.10Signature
internal?()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 64
def internal?
controller.to_s =~ %r{\Arails/(info|mailers|welcome)} || path =~ %r{\A#{Rails.application.config.assets.prefix}\z}
end
Defined in actionpack/lib/action_dispatch/routing/inspector.rb line 64
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::RouteWrapper