Module: Sidebars::Concerns::LinkWithHtmlOptions
- Included in:
- ContainerWithHtmlOptions, MenuItem
- Defined in:
- lib/sidebars/concerns/link_with_html_options.rb
Instance Method Summary collapse
-
#link_html_options ⇒ Object
add on specific items as the pertain to ‘link_to` objects specifically.
Instance Method Details
#link_html_options ⇒ Object
add on specific items as the pertain to ‘link_to` objects specifically
7 8 9 10 11 |
# File 'lib/sidebars/concerns/link_with_html_options.rb', line 7 def .tap do || [:class] = [*[:class], 'gl-link'].join(' ') end end |