Sha256: a246c7f3e00a8f756df9fd9c22fe5fc9370bb1600fb1a115e03cd0bbd11bbc88
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
module RespondHelper def respond_include_tags tags = [javascript_include_tag(:respond)] unless ActionController::Base.asset_host.nil? tags << tag('link', {href: asset_path('respond-proxy.html'), id: 'respond-redirect', rel: 'respond-redirect'}) tags << tag('link', {href: image_path('respond.proxy.gif'), id: 'respond-redirect', rel: 'respond-redirect'}) tags << javascript_include_tag(javascript_path('respond.proxy.js')) end tags.join("\n").html_safe end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
respond-rails-1.0.1 | lib/app/helpers/respond_helper.rb |
respond-rails-1.0.0 | lib/app/helpers/respond_helper.rb |