Sha256: c26d614b68dadf5425d9f6de275d938c2fe5ca1f6208ab8b35ecdefa3ac0ca98

Contents?: true

Size: 201 Bytes

Versions: 35

Compression:

Stored size: 201 Bytes

Contents

module RansackHelper
  def sort_link_if(condition, query, attribute, label, *args)
    if condition
      sort_link([:renalware, query], attribute, label, *args)
    else
      label
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc7 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.rc6 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.rc5 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.rc4 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.rc3 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.rc1 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta12 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta11 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta10 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta9 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta8 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta7 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta6 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta5 app/helpers/ransack_helper.rb
renalware-core-2.0.0.pre.beta4 app/helpers/ransack_helper.rb