Sha256: 323cdf9fdf834cb081c0b53f21a281d2be647f3cbb177efb3eccf5810e403cc4
Contents?: true
Size: 554 Bytes
Versions: 21
Compression:
Stored size: 554 Bytes
Contents
%h1 Concertos index .buttons = link_to("New concerto", new_concerto_path) if user_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 user_can?(:read, concerto) %td = link_to("Edit #{concerto.title}", edit_concerto_path(concerto)) if user_can?(:edit, concerto) %td = link_to("Delete #{concerto.title}", concerto_path(concerto), :method => 'delete') if user_can?(:delete, concerto)
Version data entries
21 entries across 21 versions & 1 rubygems