diff options
author | James Lopez <james@jameslopez.es> | 2016-01-25 11:44:25 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-25 11:44:25 +0100 |
commit | ee209cc936d9242af2b2d8d45ecb64adc55e3a51 (patch) | |
tree | 224a868a84ce551616d3637b1e0b728bd5d5b74c /app/helpers | |
parent | 719b73b880a82f83d41515d086d4225ba24483a3 (diff) | |
download | gitlab-ce-ee209cc936d9242af2b2d8d45ecb64adc55e3a51.tar.gz |
fix rubocop new 2.2 syntax issues
Diffstat (limited to 'app/helpers')
-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 d26f007c8e6..53f8f913b33 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': sanitize(source_email) } } if user.nil? diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 77ba612548a..c5823e50096 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': title, container: 'body' } ).html_safe end end |