Sha256: c63033b0177fb364c18c1a1ae9164b68534be4b4438d5486c5cc3650579528cc
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
%h1 Articles index .buttons = link_to("New article", new_article_path) if admin_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_can?(:read, article) %td = link_to("Edit", edit_article_path(article)) if admin_can?(:edit, article) %td = link_to("Delete", delete_article_path(article)) if admin_can?(:delete, article)
Version data entries
3 entries across 1 versions & 1 rubygems