]> git.openstreetmap.org Git - rails.git/blob - app/controllers/old_node_controller.rb
Set defaults properly on redaction model, and remove unnecessary
[rails.git] / app / controllers / old_node_controller.rb
1 class OldNodeController < OldController
2
3   private
4   
5   def lookup_old_element
6     @old_element = OldNode.find([params[:id], params[:version]])
7   end
8
9   def lookup_old_elements_via_current
10     node = Node.find(params[:id])
11     @elements = node.old_nodes
12   end
13 end