Permalink
Browse files

♻️ Link from article to post path

  • Loading branch information...
adamdawkins committed Jan 18, 2019
1 parent 20bba8c commit e2712c57c018c504b9acf44158fd33db54249cc9
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/adam/articles/_article.html.erb
@@ -2,7 +2,7 @@
<%= link_to article.title, adam_article_path(article) %>
(
<% if article.published? %>
<%= link_to "published", article %>
<%= link_to "published", long_post_path(article.params) %>
<% else %>
Draft
<% end %>

0 comments on commit e2712c5

Please sign in to comment.