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 render "browse/history"
6 rescue ActiveRecord::RecordNotFound
7 render "browse/not_found", :status => :not_found
12 @feature = OldWay.preload(:old_tags, :changeset => [:changeset_tags, :user], :old_nodes => { :node => [:node_tags, :ways] }).find([params[:id], params[:version]])
13 rescue ActiveRecord::RecordNotFound
14 render :action => "not_found", :status => :not_found