Sha256: 83a1616d4190020b28632b15f929aba2a8a4625fcf42fc0e247fc954eca9eae5

Contents?: true

Size: 232 Bytes

Versions: 142

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

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

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/helpers/ransack_helper.rb
renalware-core-2.1.0 app/helpers/ransack_helper.rb
renalware-core-2.0.167 app/helpers/ransack_helper.rb
renalware-core-2.0.166 app/helpers/ransack_helper.rb
renalware-core-2.0.165 app/helpers/ransack_helper.rb
renalware-core-2.0.164 app/helpers/ransack_helper.rb
renalware-core-2.0.163 app/helpers/ransack_helper.rb
renalware-core-2.0.162 app/helpers/ransack_helper.rb
renalware-core-2.0.161 app/helpers/ransack_helper.rb
renalware-core-2.0.160 app/helpers/ransack_helper.rb
renalware-core-2.0.159 app/helpers/ransack_helper.rb
renalware-core-2.0.158 app/helpers/ransack_helper.rb
renalware-core-2.0.157 app/helpers/ransack_helper.rb
renalware-core-2.0.156 app/helpers/ransack_helper.rb
renalware-core-2.0.155 app/helpers/ransack_helper.rb
renalware-core-2.0.153 app/helpers/ransack_helper.rb
renalware-core-2.0.152 app/helpers/ransack_helper.rb
renalware-core-2.0.151 app/helpers/ransack_helper.rb
renalware-core-2.0.149 app/helpers/ransack_helper.rb
renalware-core-2.0.148 app/helpers/ransack_helper.rb