summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-10 08:39:32 +0000
committerPhil Hughes <me@iamphill.com>2016-03-10 08:39:47 +0000
commitc7730121c16e41d797e7f7e00f7a6ad96d78bbb4 (patch)
treed5837d1bcef22cd3284487faccdfb066a9983d7d
parentcd1d045fe215bb06a1cc96e12cefda5ef71058a0 (diff)
downloadgitlab-ce-c7730121c16e41d797e7f7e00f7a6ad96d78bbb4.tar.gz
Fixed failing rubocop test
-rw-r--r--app/helpers/application_helper.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 5cd494079b0..f07c79ec611 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -186,11 +186,11 @@ module ApplicationHelper
title: time.in_time_zone.to_s(:medium),
data: { toggle: 'tooltip', placement: placement, container: 'body' }
- unless skip_js
- element << javascript_tag(
- "$('.js-timeago-pending').removeClass('js-timeago-pending').timeago()"
- )
- end
+ unless skip_js
+ element << javascript_tag(
+ "$('.js-timeago-pending').removeClass('js-timeago-pending').timeago()"
+ )
+ end
element
end