Render the links using partial so we can do the appropriate rendering

for HTML and Atom versions and hopefully get the escaping right in the
feed. Closes #2135.
This commit is contained in:
Tom Hughes 2009-08-05 23:39:24 +00:00
parent c0c506adde
commit e477f68a6c
5 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1 @@
xml.a(bbox.to_s, :href => url_for(:controller => "site", :action => "index", :minlon => bbox.min_lon, :minlat => bbox.min_lat, :maxlon => bbox.max_lon, :maxlat => bbox.max_lat, :box => "yes"))