VRFS-3728 comment

This commit is contained in:
Jonathan Kolyer 2015-12-10 21:39:16 +00:00
parent 153ed88a79
commit 48f85fecfa
2 changed files with 2 additions and 4 deletions

View File

@ -16,6 +16,3 @@ PLATFORMS
DEPENDENCIES
pg_migrate (= 0.1.13)!
BUNDLED WITH
1.10.5

View File

@ -104,7 +104,8 @@ class ApiJamTracksController < ApiController
head :ok, checksum: checksum
return
else
# if the requested jamtrack is not purchased, send status code 204
# 204: nothing purchased for user
# 200: jamtrack purchase for user confirmed
if JamTrackRight
.where(jam_track_id: jtid, user_id: current_user.id)
.limit(1)