16f33013ee1c01e251f34a19d177118c338f9e97
[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_element_versions
10     @elements = OldNode.where(:node_id => params[:id]).order(:version)
11   end
12 end