Skip to content

Commit

Permalink
Fixed more spec-failing typos...
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWhited committed May 13, 2012
1 parent afa4920 commit 3213ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -193,7 +193,7 @@ def gravatar_url(email, options={})
# Build the Gravatar url.
url = '//gravatar.com/avatar/'
url << "#{Digest::MD5.new.update(email)}?"
url << "&rating=#{options[:rating]}" if options[:rating]
url << "rating=#{options[:rating]}" if options[:rating]
url << "&size=#{options[:size]}" if options[:size]
url << "&default=#{options[:default]}" if options[:default]
url
Expand Down
2 changes: 1 addition & 1 deletion app/models/standard_tags.rb
Expand Up @@ -736,7 +736,7 @@ class RequiredAttributeError < StandardError; end
unless email.blank?
url = '//gravatar.com/avatar/'
url << "#{Digest::MD5.new.update(email)}?"
url << "&rating=#{rating}"
url << "rating=#{rating}"
url << "&size=#{size.to_i}"
url << "&default=#{default}"
url
Expand Down

0 comments on commit 3213ef9

Please sign in to comment.