ernie/meta_search — Issue #74: sort_link doesn't accept class nor hash?
Author: holden
Created: 2011-11-20 12:48:58+00:00
State: open

Reading the rdocs, this should work:

http://rubydoc.info/github/ernie/meta_search/master/MetaSearch/Helpers/UrlHelper#sort_link-instance_method

```<%= sort_link @search, :name, :class => 'name_sort' %>```

Instead I get:

```Name```

Version 1.1.1

I also tried to pass it in as a hash at the end, that also didn't work.

```If the first parameter after the attribute name is not a hash, it will be used as a string for alternate link text. If a hash is supplied, it will be passed to link_to as an html_options hash.```