From a5f5a4ec26b84088050cda04a71b5f2f5b08f457 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 1 Jul 2025 09:44:24 +0200 Subject: [PATCH] Remove helper not used anymore because lexical handles it https://github.com/basecamp/actiontext-lexical/pull/18 --- app/helpers/application_helper.rb | 4 ---- app/views/prompts/collections/users/_user.html.erb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 86b08db45..52783033c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -6,8 +6,4 @@ module ApplicationHelper def icon_tag(name, **options) tag.span class: class_names("icon icon--#{name}", options.delete(:class)), "aria-hidden": true, **options end - - def filterable_name(text) - I18n.transliterate(text.to_s).downcase - end end diff --git a/app/views/prompts/collections/users/_user.html.erb b/app/views/prompts/collections/users/_user.html.erb index 4024b2d06..836467bca 100644 --- a/app/views/prompts/collections/users/_user.html.erb +++ b/app/views/prompts/collections/users/_user.html.erb @@ -1,4 +1,4 @@ -" sgid="<%= user.attachable_sgid %>"> +" sgid="<%= user.attachable_sgid %>">