Sha256: f425af0c6b6bfaf23c675dc2d3921336ca679777bb575cd8389ea1c969f06204
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
p#notice = notice h1 | Listing Articles - @articles.each do |article| h1.article-title = link_to article.title, article .posted-date = article.created_at.strftime("%B %d, %Y") .article = truncate_html sanitize(article.text), length: 200, omission: " ..." ul li = link_to 'Edit', edit_article_path(article) li = link_to 'Destroy', article, method: :delete, data: { confirm: 'Are you sure?' } hr = link_to 'New Article', new_article_path
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigmouth-0.0.1 | app/views/bigmouth/articles/index.html.slim |