diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-19 09:54:58 -0500 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-19 09:54:58 -0500 |
commit | ee62acf9915e7e0a26cf5fd9a2f4f4f9b2d64957 (patch) | |
tree | 805cbe5dad4bc9f7b1496987b5b08cd9e7283a65 | |
parent | 4859dc032c9eddbc4722bef0f680fdbf545d325e (diff) | |
download | gitlab-ce-ee62acf9915e7e0a26cf5fd9a2f4f4f9b2d64957.tar.gz |
Removed explicit parenthesis from Mentionable
-rw-r--r-- | app/models/concerns/mentionable.rb | 2 |
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) |