]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Render correct template
[rails.git] / app / controllers / browse_controller.rb
index 377c7ced1f2b006131da76ee9972b78c5192e8a8..c8375ee06253fc961885dbe72ef9f6ac733352c4 100644 (file)
@@ -33,7 +33,7 @@ class BrowseController < ApplicationController
   def way_history
     @type = "way"
     @feature = Way.preload(:way_tags, :old_ways => { :changeset => :user }).find(params[:id])
-    render 'feature'
+    render 'history'
   rescue ActiveRecord::RecordNotFound
     render :action => "not_found", :status => :not_found
   end