From 641ce5b640cfc74ca6c427fae49a39c08fa641ac Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 12 Nov 2013 15:39:25 -0800 Subject: [PATCH 1/1] Render correct template --- app/controllers/browse_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 377c7ced1..c8375ee06 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -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 -- 2.43.2