Sha256: 0ba26413183d9d52ef0ddec9f2e6061816c012a2805ffe91af41a1db7cddf9f9
Contents?: true
Size: 499 Bytes
Versions: 42
Compression:
Stored size: 499 Bytes
Contents
%h1 Comments index .buttons = link_to("New comment", new_comment_path) if user_can?(:create, Comment) %table %th %td View %td Edit %td Delete - comments.each do |comment| %tr %td = link_to(comment.title, comment_path(comment)) if user_can?(:read, comment) %td = link_to("Edit", edit_comment_path(comment)) if user_can?(:edit, comment) %td = link_to("Delete", comment_path(post), :method => 'delete') if user_can?(:delete, comment)
Version data entries
42 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.5.1 | spec/dummy/app/views/comments/index.html.haml |
cantango-0.8.5.1 | spec/devise-dummy/app/views/comments/index.html.haml |