lib/tomogram_routing/tomogram.rb in tomogram_routing-0.1.2 vs lib/tomogram_routing/tomogram.rb in tomogram_routing-0.1.3
- old
+ new
@@ -16,10 +16,10 @@
end
private
def find_request_path(method:, path:)
- return '' unless path && path.size.positive?
+ return '' unless path && path.size > 0
path = remove_the_slash_at_the_end2(path)
action = search_for_an_exact_match(method, path, self)
return action['path'] if action