test/dummy/app/views/posts/_post.html.erb in slug-engine-0.0.1 vs test/dummy/app/views/posts/_post.html.erb in slug-engine-0.0.2
- old
+ new
@@ -12,10 +12,10 @@
<%= post.content %>
</p>
<p>
<b>Slug:</b>
- <%= link_to post.slug, slug_engine.slug_path(post.slug) %>
+ <%= link_to post.slug, slug_url(post) %>
</p>
<%= link_to 'Edit', edit_post_path(post) %> |
<%= link_to 'Back', posts_path %>