Fix most auto-correctable rubocop issues
[rails.git] / app / controllers / old_node_controller.rb
1 class OldNodeController < OldController
2   private
3
4   def lookup_old_element
5     @old_element = OldNode.find([params[:id], params[:version]])
6   end
7
8   def lookup_old_element_versions
9     @elements = OldNode.where(:node_id => params[:id]).order(:version)
10   end
11 end