Sha256: 6862b3af9f806d674ec0a3c84855218bf6253923284d64282804e292bb413cfd

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

Spree::Admin::BaseHelper.module_eval do

  def set_selected_class(status = nil)
    if params[:q] && status == params[:q][:status_eq]
      return "tab_active"
    elsif !(status || params[:q])
      return "tab_active"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_gtpay-1.0.2 app/helpers/spree/admin/base_helper_decorator.rb
spree_gtpay-1.0.1 app/helpers/spree/admin/base_helper_decorator.rb
spree_gtpay-1.0.0 app/helpers/spree/admin/base_helper_decorator.rb