]> git.openstreetmap.org Git - rails.git/blob - app/controllers/old_way_controller.rb
Update bundle
[rails.git] / app / controllers / old_way_controller.rb
1 class OldWayController < OldController
2   private
3
4   def lookup_old_element
5     @old_element = OldWay.find([params[:id], params[:version]])
6   end
7
8   def lookup_old_element_versions
9     @elements = OldWay.where(:way_id => params[:id]).order(:version)
10   end
11 end