Add home page with playlists list and link to add a track
This commit is contained in:
4
app/views/home/index.html.haml
Normal file
4
app/views/home/index.html.haml
Normal file
@@ -0,0 +1,4 @@
|
||||
= link_to 'Add a track', new_track_path
|
||||
%ul
|
||||
- @playlists.each do |p|
|
||||
%li= p.name
|
@@ -1,5 +1,4 @@
|
||||
= link_to 'Create playlist', new_playlist_path
|
||||
= link_to 'Add a track', new_track_path
|
||||
%ul
|
||||
- @playlists.each do |p|
|
||||
%li
|
||||
|
Reference in New Issue
Block a user