Cleanup trailing whitespace
[rails.git] / app / controllers / old_way_controller.rb
index 9c3a257..64fe5b6 100644 (file)
@@ -1,4 +1,12 @@
-class OldWayController < ApplicationController
+class OldWayController < OldController
 
+  private
 
+  def lookup_old_element
+    @old_element = OldWay.find([params[:id], params[:version]])
+  end
+
+  def lookup_old_element_versions
+    @elements = OldWay.where(:way_id => params[:id]).order(:version)
+  end
 end