Sha256: 747bb21b68d9e4810f417a20d978121854df40ade1f12f84fc6db6e376f0b5c1

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

module Softwear
  module ApplicationHelper
    def grey_or_white_box_info
      case Rails.application.class.parent.to_s
      when "CrmSoftwearcrmCom"  then return "box-info-error-white"
      else 
        return "box-info-error-grey"
      end
    end

    extend self
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
softwear-lib-2.0.10 app/helpers/softwear/application_helper.rb
softwear-lib-2.0.9.2 app/helpers/softwear/application_helper.rb
softwear-lib-2.0.9.1 app/helpers/softwear/application_helper.rb
softwear-lib-2.0.9 app/helpers/softwear/application_helper.rb
softwear-lib-2.0.8 app/helpers/softwear/application_helper.rb