fixed error with ascii error for dashboard

This commit is contained in:
gitlabhq 2011-11-03 06:56:26 -04:00
parent 020e1a8eee
commit 3abd977822
6 changed files with 24 additions and 6 deletions

View file

@ -12,4 +12,12 @@ module CommitExt
def created_at
committed_date
end
def author_email
author.email.force_encoding(Encoding::UTF_8)
end
def author_name
author.name.force_encoding(Encoding::UTF_8)
end
end