Sha256: 40fe1bb203e96cfa101b5ca952e3dda013088f3e3e7c7ada29b183138d45fcc3

Contents?: true

Size: 966 Bytes

Versions: 4

Compression:

Stored size: 966 Bytes

Contents

<dl>
  <dt>Environment:</dt>
  <dd id="environment"><%= Rails.env %></dd>

  <dt>Draper view context controller:</dt>
  <dd id="controller"><%= Draper::ViewContext.current.controller.class %></dd>

  <dt>Posted:</dt>
  <dd id="posted_date"><%= post.posted_date %></dd>

  <dt>Built-in helpers:</dt>
  <dd id="truncated"><%= post.truncated %></dd>

  <dt>Built-in private helpers:</dt>
  <dd id="html_escaped"><%= post.html_escaped %></dd>

  <dt>Helpers from app/helpers:</dt>
  <dd id="hello_world"><%= post.hello_world %></dd>

  <dt>Helpers from the controller:</dt>
  <dd id="goodnight_moon"><%= post.goodnight_moon %></dd>

  <dt>Path with model:</dt>
  <dd id="path_with_model"><%= post.path_with_model %></dd>

  <dt>Path with id:</dt>
  <dd id="path_with_id"><%= post.path_with_id %></dd>

  <dt>URL with model:</dt>
  <dd id="url_with_model"><%= post.url_with_model %></dd>

  <dt>URL with id:</dt>
  <dd id="url_with_id"><%= post.url_with_id %></dd>
</dl>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
draper-1.2.1 spec/dummy/app/views/posts/_post.html.erb
draper-1.2.0 spec/dummy/app/views/posts/_post.html.erb
jamesgolick-draper-1.1.1a spec/dummy/app/views/posts/_post.html.erb
draper-1.1.0 spec/dummy/app/views/posts/_post.html.erb