scube-server/app/views/tracks/index.html.haml
Thibault Jouan 5e1757aff9 Improve tracks CRUD
* Add index, edit and update action;
* Add _form partial;
* Add link to tracks/index in nav;
* Refactor specs.
2015-05-01 12:09:29 +00:00

7 lines
116 B
Plaintext

= link_to 'Create track', new_track_path
%ul
- @tracks.each do |p|
%li
= link_to p.name, track_path(p)