Sha256: c1c712ad295c07fc82b9c89ca7d842a61d7dc1e475778268195209e11299a4b5
Contents?: true
Size: 518 Bytes
Versions: 21
Compression:
Stored size: 518 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", edit_concerto_path(concerto)) if user_can?(:edit, concerto) %td = link_to("Delete", concerto_path(concerto), :method => 'delete') if user_can?(:delete, concerto)
Version data entries
21 entries across 21 versions & 1 rubygems