Skip to content

Commit

Permalink
Update README, follow-up to PR activerecord-hackery#706 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack authored and prasadsurase committed Sep 22, 2016
1 parent 7ad82af commit c9fd64d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ Ransack.configure do |c|
end
```

####`sort_url` is return only url of `sort_link`
####Ransack's `sort_url` helper is like a `sort_link` but returns only the url

It can be used like `sort_link`.
`sort_url` has the same API as `sort_link`:

```erb
<%= sort_url(@q, :name, default_order: :desc) %>
Expand Down

0 comments on commit c9fd64d

Please sign in to comment.