Skip to content

Commit

Permalink
correcting the 'url_params_from_hash' method to correctly assemble th…
Browse files Browse the repository at this point in the history
…e url params for inclusion with Rails3 helpers
  • Loading branch information
Nahum Wild committed Sep 12, 2010
1 parent eabaad2 commit 2274c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gravtastic.rb
Expand Up @@ -71,7 +71,7 @@ def gravatar_url(options={})
def url_params_from_hash(hash)
'?' + hash.map do |key, val|
[self.class.gravatar_options[key.to_sym] || key.to_s, CGI::escape(val.to_s) ].join('=')
end.sort.join('&')
end.sort.join('&')
end

def gravatar_hostname(secure)
Expand Down

0 comments on commit 2274c2e

Please sign in to comment.