diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-15 14:43:40 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-06 11:08:40 +0100 |
commit | c5c05f6a04ab3c791bc7c34dc74925731cf2ff94 (patch) | |
tree | 358d49e1fbbf02500113a2c9c251165e191efd43 /app/helpers/commits_helper.rb | |
parent | f76bfed9fc3e52c7b3b731dbb311b6b394d9af62 (diff) | |
download | gitlab-ce-c5c05f6a04ab3c791bc7c34dc74925731cf2ff94.tar.gz |
Updated UI for new merge request
Closes #2540
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r-- | app/helpers/commits_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index bde0799f3de..a65e2e5cb8f 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -28,7 +28,7 @@ module CommitsHelper def commit_to_html(commit, project, inline = true) template = inline ? "inline_commit" : "commit" - escape_javascript(render "projects/commits/#{template}", commit: commit, project: project) unless commit.nil? + render "projects/commits/#{template}", commit: commit, project: project unless commit.nil? end # Breadcrumb links for a Project and, if applicable, a tree path @@ -117,7 +117,7 @@ module CommitsHelper end end link_to( - "Browse Files ยป", + "Browse Files", namespace_project_tree_path(project.namespace, project, commit), class: "pull-right" ) |