if @user.description
xml.tag! "description", @user.description
end
+ xml.tag! "contributor-terms",
+ :agreed => !!@user.terms_agreed,
+ :pd => !!@user.consider_pd
if @user.home_lat and @user.home_lon
xml.tag! "home", :lat => @user.home_lat,
:lon => @user.home_lon,
:zoom => @user.home_zoom
end
- if @user.image
- xml.tag! "img", :href => (url_for_file_column(@user, "image", :absolute => true))
+ if @user.image.file?
+ xml.tag! "img", :href => "http://#{SERVER_URL}#{@user.image.url}"
end
if @user.languages
xml.tag! "languages" do