Class: Pageflow::Admin::IconLinkTo
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::IconLinkTo
- Defined in:
- app/views/components/pageflow/admin/icon_link_to.rb
Overview
Instance Method Summary collapse
Instance Method Details
#build(path, options = {}) ⇒ Object
6 7 8 |
# File 'app/views/components/pageflow/admin/icon_link_to.rb', line 6 def build(path, = {}) text_node(link_to(tooltip_span(), path, class: [:class])) end |
#tag_name ⇒ Object
10 11 12 |
# File 'app/views/components/pageflow/admin/icon_link_to.rb', line 10 def tag_name 'span' end |