lib/brakeman/processors/lib/rails3_route_processor.rb
Avoid deeply nested control flow statements. Open
Open
if string? v
add_route_from_string v[1]
elsif in_controller_block? and symbol? v
add_route v
end
Avoid deeply nested control flow statements. Open
Open
if string? v
add_route_from_string v
else
add_route v
end