Commit ef699865 authored by Ohad Dahan's avatar Ohad Dahan

#196252 changing count to size, for slight performance improvment and future resiliance

parent 5aa6e008
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
%hr %hr
%h5 %h5
= _('Groups (%{count})') % { count: @group_notifications.count } = _('Groups (%{count})') % { count: @group_notifications.size }
%div %div
- @group_notifications.each do |setting| - @group_notifications.each do |setting|
= render 'group_settings', setting: setting, group: setting.source = render 'group_settings', setting: setting, group: setting.source
......
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