Sha256: 89df88d7b4c025273407e83338dcb21755784e5f43baafd66b3f2eb4f680f4e5
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
%h1 Comments index .buttons = link_to("New comment", new_comment_path) if guest_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 guest_can?(:read, comment) %td = link_to("Edit", edit_comment_path(comment)) if guest_can?(:edit, comment) %td = link_to("Delete", delete_comment_path(post)) if guest_can?(:delete, comment)
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.0 | spec/devise-dummy/app/views/comments/guest.html.haml |
cantango-0.8.0 | spec/dummy/app/views/comments/guest.html.haml |