Sha256: a1eb635e2cdb5b795c2802eeb7971dad163c234f71bddfe6f0e300202061d1ca
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 Bytes
Contents
module ActiveAdmin module Views class ActionLink < Arbo::HTML::Span builder_method :action_link def build(name, path, options = {}) @tag_name = 'span' set_attribute(:class, :action_item) text_node link_to(localizer.t(name), path, options) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems