Sha256: 402a46cd46dad0133e7a2b70784d3509602650bb2040da4ff98cd6ab19d725f5
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
%h1 Concertos index .buttons = link_to("New concerto", new_concerto_path) if admin_can?(:create, Concerto) %table %th %td View %td Edit %td Delete - concertos.each do |concerto| %tr %td = link_to(concerto.title, concerto_path(concerto)) if admin_can?(:read, concerto) %td = link_to("Edit #{concerto.title}", edit_concerto_path(concerto)) if admin_can?(:edit, concerto) %td = link_to("Delete #{concerto.title}", delete_concerto_path(concerto)) if admin_can?(:delete, concerto)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.0 | spec/devise-dummy/app/views/concertos/admin.html.haml |