]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_relations_controller.rb
Modify the way Friends are added
[rails.git] / app / controllers / old_relations_controller.rb
index 8c73eba24d40fad552b78e47ec15c6900ea09896..ec256d6af680caaf10b39f4b20c453d1885b16da 100644 (file)
@@ -10,6 +10,6 @@ class OldRelationsController < OldElementsController
     @type = "relation"
     @feature = OldRelation.preload(:old_tags, :changeset => [:changeset_tags, :user], :old_members => :member).find([params[:id], params[:version]])
   rescue ActiveRecord::RecordNotFound
-    render :action => "not_found", :status => :not_found
+    render "browse/not_found", :status => :not_found
   end
 end