]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Include the changeset comment in the <title> of the Atom feeds if
[rails.git] / app / controllers / changeset_controller.rb
index c02ced7c26ef3de71853dbc585389e622c335be1..e451f6d04904f80467620e16f612db6ac1cadc39 100644 (file)
@@ -281,11 +281,11 @@ class ChangesetController < ApplicationController
     if bbox
       conditions = cond_merge conditions, conditions_bbox(bbox)
       bbox = BoundingBox.from_s(bbox)
-      bbox_link = "<a 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")}'>#{bbox.to_s}</a>"
+      bbox_link = render_to_string :partial => "bbox", :object => bbox
     end
 
     if user
-      user_link = "<a href='#{url_for(:controller => "user", :action => "view", :display_name => user.display_name)}'>#{user.display_name}</a>"
+      user_link = render_to_string :partial => "user", :object => user
     end
 
     if user and bbox