Render correct template
This commit is contained in:
parent
8fb3d7365f
commit
641ce5b640
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue