summaryrefslogtreecommitdiff
path: root/app/helpers/avatars_helper.rb
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-08-06 03:44:39 +0200
committerGabriel Mazetto <gabriel@gitlab.com>2016-08-06 03:44:39 +0200
commit2aa2f52191b746df851853cf5fe9ce7249a70739 (patch)
treee83c10ce7fd52a6bf3b95594a2cc06bf4cb8d3fe /app/helpers/avatars_helper.rb
parentaa49c20e81210d8b397287eb1ec10a29bcd2f132 (diff)
downloadgitlab-ce-2aa2f52191b746df851853cf5fe9ce7249a70739.tar.gz
Enable Style/EmptyLinesAroundModuleBody cop
Diffstat (limited to 'app/helpers/avatars_helper.rb')
-rw-r--r--app/helpers/avatars_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/helpers/avatars_helper.rb b/app/helpers/avatars_helper.rb
index 6ff40c6b461..2160cf7a690 100644
--- a/app/helpers/avatars_helper.rb
+++ b/app/helpers/avatars_helper.rb
@@ -1,5 +1,4 @@
module AvatarsHelper
-
def author_avatar(commit_or_event, options = {})
user_avatar(options.merge({
user: commit_or_event.author,
@@ -26,5 +25,4 @@ module AvatarsHelper
mail_to(options[:user_email], avatar)
end
end
-
end