Update README and change log after PR #473

[skip ci]
This commit is contained in:
Jon Atack 2014-11-25 23:57:34 +01:00
parent 04bdcfd39e
commit e2fcff3b13
2 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,11 @@ henceforth should be documented here.
*Josh Kovach*
* Add ability to remove sort_link arrows
([pull request](https://github.com/activerecord-hackery/ransack/pull/473)).
*Fred Bergman*
### Fixed
* Make `search_form_for`'s default `:as` option respect the custom search key

View File

@ -194,7 +194,8 @@ This example toggles the sort directions of both fields, by default
initially sorting the `last_name` field by ascending order, and the
`first_name` field by descending order.
You can remove the order indicator arrow by passing hide_indicator: true
The sort link may be displayed without the order indicator arrow by passing
`hide_indicator: true`:
```erb
<%= sort_link(@q, :name, hide_indicator: true) %>