Move browse history template to old elements directory

This commit is contained in:
Anton Khorev 2025-01-04 17:22:38 +03:00
parent ccf71302e9
commit c992d51fe2
7 changed files with 9 additions and 12 deletions

View file

@ -2,7 +2,6 @@ class OldNodesController < OldElementsController
def index
@type = "node"
@feature = Node.preload(:node_tags, :old_nodes => [:old_tags, { :changeset => [:changeset_tags, :user] }]).find(params[:id])
render "browse/history"
rescue ActiveRecord::RecordNotFound
render "browse/not_found", :status => :not_found
end