Add latest added tracks list on the home page
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class HomeController < ApplicationController
|
||||
def index
|
||||
@playlists = Playlist.all
|
||||
@tracks = Track.latest
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user