Commit cfc3fed3 authored by Kerri Miller's avatar Kerri Miller Committed by Thomas Randolph

Remove whitespace in function arguments list and collapse to one call

parent 4ec01f07
...@@ -65,9 +65,7 @@ module ProjectsHelper ...@@ -65,9 +65,7 @@ module ProjectsHelper
inject_classes = ["author-link"] inject_classes = ["author-link"]
if opts[:name] if opts[:name]
inject_classes.append( "js-user-link" ) inject_classes.concat(["js-user-link", opts[:extra_class], opts[:mobile_classes]])
inject_classes.append( opts[:extra_class] )
inject_classes.append( opts[:mobile_classes] )
else else
inject_classes.append( "has-tooltip" ) inject_classes.append( "has-tooltip" )
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment