Sha256: 3970cba28c7fe517103966ce1d7984dbec0aa6abeaa2c4a26f3bf8bf7cde8f1e
Contents?: true
Size: 538 Bytes
Versions: 84
Compression:
Stored size: 538 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", article_path(article), :method => 'delete') if admin_account_can?(:delete, article)
Version data entries
84 entries across 21 versions & 1 rubygems