Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-06-02 12:27:53 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-06-02 12:27:53 +0300
commite591401b0b3f08baf4cd28d0fcb8e184a515fc74 (patch)
tree55073da0917a2415b56af3143d06ab82a1e2dfe5 /app/helpers
parentb888ed59abd3a6cc6a1c14278c38fda472f5b90c (diff)
Removed unneeded newline in issuables_helper_spec and removed unneeded updated_at_by variable in issuable_app_data
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/issuables_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index a4197d34db3..e9389178e68 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -205,9 +205,8 @@ module IssuablesHelper
'can-update' => can?(current_user, :update_issue, issue).to_s,
'issuable-ref' => issue.to_reference || ''
}
- updated_at_by = updated_at_by(issue)
- data.merge(updated_at_by)
+ data.merge(updated_at_by(issue))
end
def updated_at_by(issuable)