Skip to content

Commit

Permalink
Merge pull request #50 from kaspth/rm-path-query
Browse files Browse the repository at this point in the history
Avoid using internal path_query method.
  • Loading branch information
kaspth committed Nov 27, 2014
2 parents 0a7120c + 5abdbb2 commit c79885c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/global_id/uri/gid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def build(args)

def to_s
# Implement #to_s to avoid no implicit conversion of nil into string when path is nil
"gid://#{app}#{path_query}"
"gid://#{app}#{path}#{'?' + query if query}"
end

protected
Expand Down

0 comments on commit c79885c

Please sign in to comment.