diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-06-02 10:27:53 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-06-02 10:27:53 +0100 |
commit | e591401b0b3f08baf4cd28d0fcb8e184a515fc74 (patch) | |
tree | 55073da0917a2415b56af3143d06ab82a1e2dfe5 /app | |
parent | b888ed59abd3a6cc6a1c14278c38fda472f5b90c (diff) | |
download | gitlab-ce-e591401b0b3f08baf4cd28d0fcb8e184a515fc74.tar.gz |
Removed unneeded newline in issuables_helper_spec and removed unneeded updated_at_by variable in issuable_app_data
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/issuables_helper.rb | 3 |
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) |