Sha256: 1aa0c86e53231b1533ca788095b5f31602f261e22ad63a2c69930545945aa70d

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 KB

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 decorator:</dt>
  <dd id="path_with_decorator"><%= post_path(post) %></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 decorator:</dt>
  <dd id="url_with_decorator"><%= post_url(post) %></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

7 entries across 7 versions & 3 rubygems

Version Path
draper_new-3.0.0 spec/dummy/app/views/posts/_post.html.erb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/draper-2.1.0/spec/dummy/app/views/posts/_post.html.erb
draper-2.1.0 spec/dummy/app/views/posts/_post.html.erb
draper-2.0.0 spec/dummy/app/views/posts/_post.html.erb
draper-1.4.0 spec/dummy/app/views/posts/_post.html.erb
draper-1.3.1 spec/dummy/app/views/posts/_post.html.erb
draper-1.3.0 spec/dummy/app/views/posts/_post.html.erb