1 class OldWaysController < OldElementsController
4 @feature = Way.preload(:way_tags, :old_ways => [:old_tags, { :changeset => [:changeset_tags, :user], :old_nodes => { :node => [:node_tags, :ways] } }]).find(params[:id])
5 rescue ActiveRecord::RecordNotFound
6 render "browse/not_found", :status => :not_found
11 @feature = OldWay.preload(:old_tags, :changeset => [:changeset_tags, :user], :old_nodes => { :node => [:node_tags, :ways] }).find([params[:id], params[:version]])
12 rescue ActiveRecord::RecordNotFound
13 render :action => "not_found", :status => :not_found