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:
parent
356a1e46b2
commit
0b19b77b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue