spec/dummy/app/views/posts/_post.html.erb in draper-1.2.1 vs spec/dummy/app/views/posts/_post.html.erb in draper-1.3.0
- old
+ new
@@ -18,14 +18,20 @@
<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>