Sha256: 1aead8817696930e8f876027d94b34c7373795315d9cc74703f2368d671c2ce2
Contents?: true
Size: 506 Bytes
Versions: 84
Compression:
Stored size: 506 Bytes
Contents
%h1 Articles index .buttons = link_to("New article", new_article_path) if guest_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 guest_can?(:read, article) %td = link_to("Edit", edit_article_path(article)) if guest_can?(:edit, article) %td = link_to("Delete", article_path(article), :method => 'delete') if guest_can?(:delete, article)
Version data entries
84 entries across 21 versions & 1 rubygems