Skip to content

Commit

Permalink
Post date retrieved from db
Browse files Browse the repository at this point in the history
  • Loading branch information
iafonov committed Oct 6, 2009
1 parent 4afd156 commit d41aba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/blog.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- for post in @posts
.post
.mark 22.01.2008
.mark #{post.created_at.strftime('%B %d')}
.post-title
%a{:href => "posts/#{post.id}"}= post.title
%a{:href => "posts/#{post.id}#comments", :style => "font-size: 75%"}= "(#{post.comments.count})"
Expand Down

0 comments on commit d41aba0

Please sign in to comment.