]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/versions_controller.rb
Don't include language prefix in wikipedia links
[rails.git] / app / controllers / api / versions_controller.rb
index 7de335091e2a92d754d84723bc8722ea7cb29a77..d311a18d24f14a1b3304bc3b8c7325272a805323 100644 (file)
@@ -1,7 +1,9 @@
 module Api
   class VersionsController < ApiController
+    skip_before_action :check_api_readable
     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