Improve tracks CRUD
* Add index, edit and update action; * Add _form partial; * Add link to tracks/index in nav; * Refactor specs.
This commit is contained in:
6
app/views/tracks/index.html.haml
Normal file
6
app/views/tracks/index.html.haml
Normal file
@@ -0,0 +1,6 @@
|
||||
= link_to 'Create track', new_track_path
|
||||
|
||||
%ul
|
||||
- @tracks.each do |p|
|
||||
%li
|
||||
= link_to p.name, track_path(p)
|
||||
Reference in New Issue
Block a user