diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-06 12:25:31 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-13 13:49:27 +0100 |
commit | f96dc6295aeb6f7d731c635c1a8a8ff609b4510f (patch) | |
tree | a02fabe8eb127852ec03ced32b82111049a11a29 /app/controllers | |
parent | 606d24ff2df157ec70003132d1ead7a47dc32883 (diff) | |
download | gitlab-ce-f96dc6295aeb6f7d731c635c1a8a8ff609b4510f.tar.gz |
Everything from gitlab_git is already UTF-8.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/graphs_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/graphs_controller.rb b/app/controllers/projects/graphs_controller.rb index 752474b4a4c..6e54af356e0 100644 --- a/app/controllers/projects/graphs_controller.rb +++ b/app/controllers/projects/graphs_controller.rb @@ -28,8 +28,8 @@ class Projects::GraphsController < Projects::ApplicationController @commits.each do |commit| @log << { - author_name: commit.author_name.force_encoding('UTF-8'), - author_email: commit.author_email.force_encoding('UTF-8'), + author_name: commit.author_name, + author_email: commit.author_email, date: commit.committed_date.strftime("%Y-%m-%d") } end |