diff options
Diffstat (limited to 'src/blog.html.erb')
-rw-r--r-- | src/blog.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog.html.erb b/src/blog.html.erb index bd7b8aa..3709ca9 100644 --- a/src/blog.html.erb +++ b/src/blog.html.erb @@ -1,7 +1,7 @@ <ul> <% posts.each do |post| %> <li> - <a href=<%= path_to post['title'] %>><%= post['title'] %></a> <%= format_date post['date'] %> + <a href=<%= path_to post['id'] %>><%= post['title'] %></a> <%= format_date post['date'] %> </li> <% end %> </ul> |