Sha256: 3e2bb9b2e39e1f864566f8e02c54059c82318df28c49e37c9e7f2bad4bd9e8e7
Contents?: true
Size: 686 Bytes
Versions: 1
Compression:
Stored size: 686 Bytes
Contents
module Exvo module ViewHelpers def javascript_bundle_include_tag(bundle) case Exvo::Helpers.env.to_sym when :production # FIXME change back to '//' in production so that the webserver can choose between HTTP and HTTPS # note, that it requires a proper SSL certificate installed for cdn.exvo.com domain javascript_include_tag "http://#{ Exvo::Helpers.cdn_host }/javascripts/#{bundle}.js" when :staging javascript_include_tag "http://#{ Exvo::Helpers.cdn_host }/javascripts/#{bundle}.js" else javascript_include_tag "http://#{ Exvo::Helpers.cdn_host }/javascripts/bundles/#{bundle}.js" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exvo_helpers-0.0.5 | lib/exvo_helpers/view_helpers.rb |