Module: RansackHelper
- Defined in:
- app/helpers/ransack_helper.rb
Instance Method Summary collapse
Instance Method Details
#sort_link_if(condition, query, attribute, label, *args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/helpers/ransack_helper.rb', line 4 def sort_link_if(condition, query, attribute, label, *args) if condition sort_link([:renalware, query], attribute, label, *args) else label end end |