Sha256: b743e637a4f06f6cb098c9d22118a7cea9b3ec9e466b65003bf631243edc8ae9
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
%h1 Articles index .buttons = link_to("New article", new_article_path) if admin_account_can?(:create, Article) %table %th %td View %td Edit %td Delete - articles.each do |article| %tr %td = link_to(article.title, article_path(article)) if admin_account_can?(:read, article) %td = link_to("Edit", edit_article_path(article)) if admin_account_can?(:edit, article) %td = link_to("Delete", delete_article_path(article)) if admin_account_can?(:delete, article)
Version data entries
4 entries across 1 versions & 1 rubygems