Sha256: e6f691ea68eb4345c29404f13beec8d158f90fc1b4f77c87251084d261b03bee

Contents?: true

Size: 837 Bytes

Versions: 9

Compression:

Stored size: 837 Bytes

Contents

<%# Just for test. %>
<h2>RailsAmp Information</h2>
<p>Rails Version:            <%= Rails.version %></p>
<p>RailsAmp Object ID:       <%= RailsAmp.object_id %></p>
<p>RailsAmp format:          <%= RailsAmp.format.inspect %></p>
<p>RailsAmp default_format:  <%= RailsAmp.default_format.inspect %></p>
<p>RailsAmp targets:         <%= RailsAmp.targets.inspect %></p>
<p>RailsAmp analytics:       <%= RailsAmp.analytics.inspect %></p>
<p>RailsAmp analytics class: <%= RailsAmp.analytics.class %></p>
<p>RailsAmp MimeTypes:       <%= Mime::EXTENSION_LOOKUP %></p>
<p>RailsAmp Ancestors:       <%= controller.class.ancestors %></p>
<p><%= image_tag('rails.png', size: '30x20', border: '0') %></p>
<p><%= image_tag('rails.png') %></p>

<% if amp_renderable? %>
  <p>This is an amp page.</p>
<% else %>
  <p>This is a html page.</p>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_amp-0.2.2 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.2.1 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.2.0 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.9 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.8 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.7 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.6 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.5 spec/dummy/app/views/home/_amp_info.html.erb
rails_amp-0.1.4 spec/dummy/app/views/home/_amp_info.html.erb