Pass css classes to Ransack's sort_linkWorking on a RoR project for myself (self-teaching), now toying with Ransack which is an awesome gem...
I would like to have a few "sort_links" on top of my index page - work as expected, but I can't figure out how to style these links.
Have tried this but didn't work:
<%= sort_link(@q, :title), class: 'btn btn-info btn-small') %>
The wiki and readme of ransack don't really talk about this?