# File lib/brakeman/checks/check_route_dos.rb, line 30 def controller_wildcards? tracker.routes.each do |name, actions| if name == ':controllerController'':controllerController' # awful hack for routes with :controller in them return true elsif string? actions and actions.value.include? ":controller" return true end end false end