Skip to content

Instantly share code, notes, and snippets.



Last active Oct 14, 2018
What would you like to do?
padrino blog tutorial show.haml
%h3.title.article-title= @post.title
.tags.has-addons.level-item time_ago_in_words(@post.created_at || + ' ago'
= simple_format(@post.body)
%p= link_to 'View all posts', url_for(:posts, :index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment