Add basic playlists management
* Index of playlists * Create a new playlist * Basic playlist model with mandatory name
This commit is contained in:
3
app/models/playlist.rb
Normal file
3
app/models/playlist.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class Playlist < ActiveRecord::Base
|
||||
validates_presence_of :name
|
||||
end
|
Reference in New Issue
Block a user