Skip to content

Commit

Permalink
Merge branch 'main' into add_shoryuken_instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mcinbell authored Oct 27, 2023
2 parents af27750 + c5f5c58 commit 5acdbf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def path(endpoint)
version = endpoint.routes.first.options[:version] || ''
prefix = endpoint.routes.first.options[:prefix]&.to_s || ''
parts = [prefix, version] + namespace.split('/') + endpoint.options[:path]
parts.reject { |p| p.blank? || p.eql?('/') }.join('/').prepend('/')
parts.reject { |p| p.nil? || p.empty? || p.eql?('/') }.join('/').prepend('/')
end

def formatter_type(formatter)
Expand Down

0 comments on commit 5acdbf0

Please sign in to comment.