Permalink
Browse files
♻️ Link from article to post path
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+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