]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/versions_controller.rb
Merge remote-tracking branch 'upstream/pull/4483'
[rails.git] / app / controllers / api / versions_controller.rb
index 7de335091e2a92d754d84723bc8722ea7cb29a77..d5c9c5f87cebf2036316655c72013b49b55b4832 100644 (file)
@@ -2,6 +2,7 @@ module Api
   class VersionsController < ApiController
     authorize_resource :class => false
 
+    before_action :set_request_formats
     around_action :api_call_handle_error, :api_call_timeout
 
     # Show the list of available API versions. This will replace the global