Sha256: 952c74a01b24c1c79931a1fc3612957d5a196d7ddef72ac41f11aafbe93f1f0a
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
# frozen_string_literal: true module ZuoraConnectUi # General helpers for application level module ApplicationHelper def zuo_parameterize(string) if Rails::VERSION::STRING.start_with? '5' string.parameterize(separator: '_') else string.parameterize('_') end end def zuo_include_tag JAVASCRIPT_INCLUDE end JAVASCRIPT_INCLUDE = %w[ https://cdn.zuora.com/anjuna/1.0.0-beta.8/core/anjuna-core.js ].map { |link| '<script src="' + link + '"></script>' }.join("\n").html_safe end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zuora_connect_ui-0.8.1 | app/helpers/zuora_connect_ui/application_helper.rb |
zuora_connect_ui-0.8.0 | app/helpers/zuora_connect_ui/application_helper.rb |