Sha256: db4c9e9181bdb41555b9e283466f863f0f84cf4d4a16c07a05c3b98edded547e

Contents?: true

Size: 397 Bytes

Versions: 55

Compression:

Stored size: 397 Bytes

Contents

module ZuoraConnect
  module ApplicationHelper
    def is_app_admin?
      return @appinstance.blank? ? false : session["#{@appinstance.id}::admin"] || @appinstance.zuora_tenant_ids.include?("9")
    end

    def zuora_user
      return @zuora_user
    end

    def connect_meta_tags
      "<meta name=\"z-hallway-prefix\" content=\"#{ Thread.current[:isHallway] }\">".html_safe
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
zuora_connect-3.2.10 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.9 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.8 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.7 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.6 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.5 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.4 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.3 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.2 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.2.0 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.g app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.f app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.e app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.d app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.c app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.b app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5.pre.a app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.5 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.4 app/helpers/zuora_connect/application_helper.rb
zuora_connect-3.1.3 app/helpers/zuora_connect/application_helper.rb