lib/brakeman/processors/lib/rails3_route_processor.rb in brakeman-5.1.2 vs lib/brakeman/processors/lib/rails3_route_processor.rb in brakeman-5.2.0

- old
+ new

@@ -76,9 +76,11 @@ exp end #TODO: Need test for this def process_root exp + return exp unless hash? exp.first_arg + if value = hash_access(exp.first_arg, :to) if string? value add_route_from_string value end end