diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-23 23:27:37 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-07-24 10:53:59 +0300 |
commit | e4e824c169ad1ef4e789812ef29c67b599f6244d (patch) | |
tree | 10522d3f7a74c4225f54d0e68c75b696815cb8f5 /app/helpers | |
parent | f1c7ab5165b7d7502fd944faa8214f6a50535085 (diff) | |
download | gitlab-ce-e4e824c169ad1ef4e789812ef29c67b599f6244d.tar.gz |
Replace author_link snake case in stylesheets, specs, and helpers
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 221f1aa9dd8..aaf9dff43ee 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -63,10 +63,10 @@ module ProjectsHelper author_html = author_html.html_safe if opts[:name] - link_to(author_html, user_path(author), class: "author_link #{"#{opts[:extra_class]}" if opts[:extra_class]} #{"#{opts[:mobile_classes]}" if opts[:mobile_classes]}").html_safe + link_to(author_html, user_path(author), class: "author-link #{"#{opts[:extra_class]}" if opts[:extra_class]} #{"#{opts[:mobile_classes]}" if opts[:mobile_classes]}").html_safe else title = opts[:title].sub(":name", sanitize(author.name)) - link_to(author_html, user_path(author), class: "author_link has-tooltip", title: title, data: { container: 'body' }).html_safe + link_to(author_html, user_path(author), class: "author-link has-tooltip", title: title, data: { container: 'body' }).html_safe end end |