Method: Pageflow::Admin::IconLinkTo#build

Defined in:
app/views/components/pageflow/admin/icon_link_to.rb

#build(path, options = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 12.2



7
8
9
# File 'app/views/components/pageflow/admin/icon_link_to.rb', line 7

def build(path, options = {})
  text_node(link_to(tooltip_span(options), path, class: options[:class]))
end