]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/old_elements_controller.rb
Rename api OldController to OldElementsController
[rails.git] / app / controllers / api / old_elements_controller.rb
similarity index 97%
rename from app/controllers/api/old_controller.rb
rename to app/controllers/api/old_elements_controller.rb
index 5b16b453d6f92f1acbb65064c49ce2201325f2a4..6a468a900631953247414ecee55145745c393e62 100644 (file)
@@ -2,7 +2,7 @@
 # into one place. as it turns out, the API methods for historical
 # nodes, ways and relations are basically identical.
 module Api
-  class OldController < ApiController
+  class OldElementsController < ApiController
     before_action :check_api_readable
     before_action :check_api_writable, :only => [:redact]
     before_action :setup_user_auth, :only => [:history, :show]