aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-07-20 04:07:22 +0100
committerFrancis Irving <francis@mysociety.org>2010-07-20 04:07:22 +0100
commite82896aba8202a4178fd78c3c82c6a9e372a1b27 (patch)
treecc6fc863328775d3f57eb6fcd5fb536e6509df83
parent0463522a4975434a8e41c01afdb32a0e47a66fcc (diff)
Fix photo URL
-rw-r--r--app/views/admin_user/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_user/show.rhtml b/app/views/admin_user/show.rhtml
index a893498eb..5e36ad50a 100644
--- a/app/views/admin_user/show.rhtml
+++ b/app/views/admin_user/show.rhtml
@@ -5,7 +5,7 @@
<% if @admin_user.profile_photo %>
<div class="user_photo_on_admin">
<% form_tag '../clear_profile_photo/' + @admin_user.id.to_s, :multipart => true do %>
- <img src="<%= get_profile_photo_url(:url_name => @admin_user.url_name) %>">
+ <img src="<%= main_url(get_profile_photo_url(:url_name => @admin_user.url_name)) %>">
<br>
<%= submit_tag "Clear photo" %>
<% end %>