summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-19 09:54:58 -0500
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-19 09:54:58 -0500
commitee62acf9915e7e0a26cf5fd9a2f4f4f9b2d64957 (patch)
tree805cbe5dad4bc9f7b1496987b5b08cd9e7283a65
parent4859dc032c9eddbc4722bef0f680fdbf545d325e (diff)
downloadgitlab-ce-ee62acf9915e7e0a26cf5fd9a2f4f4f9b2d64957.tar.gz
Removed explicit parenthesis from Mentionable
-rw-r--r--app/models/concerns/mentionable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/mentionable.rb b/app/models/concerns/mentionable.rb
index a3ef39fb364..ea542bbda49 100644
--- a/app/models/concerns/mentionable.rb
+++ b/app/models/concerns/mentionable.rb
@@ -98,7 +98,7 @@ module Mentionable
end
def analyze_references_in_attributes(ext)
- self.class.mentionable_attrs.each do |(attr, options)|
+ self.class.mentionable_attrs.each do |attr, options|
result = send(attr)
if result.is_a?(ActiveRecord::Relation)