Render correct template
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 12 Nov 2013 23:39:25 +0000 (15:39 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 12 Nov 2013 23:39:25 +0000 (15:39 -0800)
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