Skip to content
Browse files

oops, corrected

  • Loading branch information...
1 parent ef9acd6 commit 6411afdd096f4a19e073bb05c6d08dbfee713e19 @thynctank committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 uploader.coffee
View
2 uploader.coffee
@@ -15,7 +15,7 @@ class Uploader
timestamp = new Date().getTime()
filename = "#{dirname}/#{timestamp}"
origName = req.files[fieldName].path
- clientPath = "#{subdir}/filename"
+ clientPath = "#{subdir}/#{timestamp}"
wrench.mkdirSyncRecursive dirname, 0777
fs.rename origName, filename, ->

0 comments on commit 6411afd

Please sign in to comment.
Something went wrong with that request. Please try again.