diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-20 04:08:45 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-20 04:08:45 +0100 |
commit | e973834a1725dbe71182d93c3bec78ae80a73c8e (patch) | |
tree | 015ff689d81abcfbed03e528780d0170fd10946d | |
parent | e82896aba8202a4178fd78c3c82c6a9e372a1b27 (diff) |
Fix admin URL
-rw-r--r-- | app/views/admin_user/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_user/show.rhtml b/app/views/admin_user/show.rhtml index 5e36ad50a..a10d08e69 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="<%= main_url(get_profile_photo_url(:url_name => @admin_user.url_name)) %>"> + <img src="<%= main_url(get_profile_photo_url(:url_name => @admin_user.url_name, :only_path => true)) %>"> <br> <%= submit_tag "Clear photo" %> <% end %> |