Skip to content

Commit

Permalink
fixed upload nameing
Browse files Browse the repository at this point in the history
  • Loading branch information
abarnhard committed Sep 5, 2014
1 parent e3e3763 commit a4030f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ User.updateProfile = function(user, fields, files, cb){
User.prototype.moveFiles = function(files){
this.photos = this.photos || [];
var baseDir = __dirname + '/../static',
relDir = '/img/user_pics' + this._id,
relDir = '/img/user_pics/' + this._id,
absDir = baseDir + relDir,
exists = fs.existsSync(absDir),
self = this;
Expand Down
Binary file not shown.

0 comments on commit a4030f3

Please sign in to comment.