Remove helper not used anymore because lexical handles it
https://github.com/basecamp/actiontext-lexical/pull/18
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<lexical-prompt-item search="<%= "#{filterable_name(user.name)} #{user.initials}" %>" sgid="<%= user.attachable_sgid %>">
|
||||
<lexical-prompt-item search="<%= "#{user.name} #{user.initials}" %>" sgid="<%= user.attachable_sgid %>">
|
||||
<template type="menu">
|
||||
<%= avatar_image_tag user %>
|
||||
<%= user.name %>
|
||||
|
||||
Reference in New Issue
Block a user