Localisation updates from https://translatewiki.net.
[rails.git] / app / helpers / user_roles_helper.rb
index b6961cd8b02021715b6f8436bbf293dbf4b28f03..7093a96b2b160dc9d4733d69ab58d74075813082 100644 (file)
@@ -1,6 +1,8 @@
 module UserRolesHelper
   def role_icons(user)
-    UserRole::ALL_ROLES.reduce("".html_safe) { |a, e| a + " " + role_icon(user, e) }
+    UserRole::ALL_ROLES.reduce("".html_safe) do |acc, elem|
+      acc + " " + role_icon(user, elem)
+    end
   end
 
   def role_icon(user, role)