Skip to content
Snippets Groups Projects
Unverified Commit ee62acf9 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Removed explicit parenthesis from Mentionable

parent 4859dc03
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment