module Polyfillrb::Rails::ViewHelper
Public Instance Methods
polyfills()
click to toggle source
# File lib/polyfillrb/rails/view_helper.rb, line 6 def polyfills polyfills = ::Polyfillrb.get_polyfills( request.env['HTTP_USER_AGENT'], (::Rails.env != 'development') ) content_tag('script', polyfills, {}, false) end