]> git.openstreetmap.org Git - rails.git/blob - app/controllers/old_way_controller.rb
dae0957b30b0cceb868b475b0d57a48be7f6f727
[rails.git] / app / controllers / old_way_controller.rb
1 class OldWayController < OldController
2
3   private
4   
5   def lookup_old_element
6     @old_element = OldWay.find([params[:id], params[:version]])
7   end
8
9   def lookup_old_elements_via_current
10     way = Way.find(params[:id])
11     @elements = way.old_ways
12   end
13 end