Skip to content

Commit

Permalink
Fix openid comments errors display.
Browse files Browse the repository at this point in the history
authenticate_with_open_id returns :base, not 'base'.
  • Loading branch information
Adam Wróbel authored and xaviershay committed Dec 3, 2010
1 parent f0b763c commit ec4a1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -15,6 +15,6 @@ def format_comment_error(error)
'body' => 'Please comment',
'author' => 'Please provide your name or OpenID identity URL',
'base' => error.last
}[error.first]
}[error.first.to_s]
end
end

0 comments on commit ec4a1b9

Please sign in to comment.