%# todo this looks like an unused partial %> <% if @stream.any? && !@user.blocked_by?(current_user) %> <% @stream.each do |entity| %> <% next unless User.new.can_read?(entity) || (user_signed_in? && current_user.can_read?(entity)) %>
<%= link_to @user.name, @user, class: "#{User.text_color}" %> updated a<%= 'n' if %(a e i o u).include?(entity.class.name.downcase.first) %> <%= entity.class.name.downcase %> <% if !entity.is_a?(Universe) && entity.universe.present? %> in the <%= link_to entity.universe.name, entity.universe, class: "#{Universe.text_color}" %> universe <% end %> <%= time_ago_in_words(entity.updated_at) %> ago.