- ActorModeration.aasm.states.map(&:name).each do |actor_state| = render 'components/dropdown_item', text: t(".submenu_#{actor_state}", count: actor_moderations.unscope(where: :aasm_state).public_send(actor_state).count), path: site_moderation_queue_path(params.permit(:state, :actor_state).merge(actor_state: actor_state))