Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support for adding sha1 hashes to a playlist on create

  • Loading branch information...
commit 136ba994ca9e3efbc02d6f88f7d6f98bbec787e0 1 parent 63c094e
@mnutt authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/collections_controller.rb
View
1  app/controllers/collections_controller.rb
@@ -10,6 +10,7 @@ def index
def create
@collection = Limewire::Collection.create(params[:name])
+ @collection.update_items(params[:sha1s].split(',')) if params[:sha1s]
render :json => JSON::pretty_generate(@collection)
end
Please sign in to comment.
Something went wrong with that request. Please try again.