<% if valid_access? %> <% if valid_filters.any? %> <% if current_filter == "follows" %> <%= render "users/following", user: user, follows: follows.group_by(&:followable_type) %> <% else %> <%= render_user_partial current_filter %> <% end %> <% else %>
<%= t("users.show.no_activity") %>
<% end %> <% else %>
<%= t("users.show.private_activity") %>
<% end %>