A fix for the image breaking if you don't change anything on the edit profile page but hit update profile instead of cancel

This commit is contained in:
Uiri 2010-09-25 17:34:13 -04:00
parent 356a1e46b2
commit 0b19b77b5f

View file

@ -31,7 +31,7 @@ class UsersController < ApplicationController
params[:profile].delete(:image_url)
else
url = APP_CONFIG[:pod_url].chop if APP_CONFIG[:pod_url][-1,1] == '/'
params[:profile][:image_url] = url + params[:profile][:image_url]
params[:profile][:image_url] = params[:profile][:image_url]
end
end