method
template_missing?
v8.1.1 -
Show latest stable
- Class:
Rails::Command::UnusedRoutesCommand::RouteInfo
template_missing?()private
No documentation available.
# File railties/lib/rails/commands/unused_routes/unused_routes_command.rb, line 33
def template_missing?
@controller_class && @controller_class.try(:view_paths).to_a.flat_map { |path| Dir["#{view_path(path)}.*"] }.none?
end