Class: ActiveAdmin::Views::ActionLink
- Inherits:
-
Arbo::HTML::Span
- Object
- Arbo::HTML::Span
- ActiveAdmin::Views::ActionLink
- Defined in:
- lib/active_admin/views/components/action_link.rb
Instance Method Summary collapse
Instance Method Details
#build(name, path, options = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/active_admin/views/components/action_link.rb', line 6 def build(name, path, = {}) @tag_name = 'span' set_attribute(:class, :action_item) text_node link_to(localizer.t(name), path, ) end |