* poke downloaded_since_sign on jamtrackright page

This commit is contained in:
Seth Call 2015-04-24 14:58:31 -05:00
parent 24e244d766
commit 933d56524c
1 changed files with 4 additions and 0 deletions

View File

@ -173,6 +173,10 @@ module JamRuby
def update_download_count(count=1)
self.download_count = self.download_count + count
self.last_downloaded_at = Time.now
if self.signed
self.downloaded_since_sign = true
end
end
def self.list_keys(user, jamtracks)