]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/relations_controller.rb
Move the login form rules to be based on screen size
[rails.git] / app / controllers / api / relations_controller.rb
index 566efe0eba88b2f3e289f1cbcfd44d0de17b4b5f..28e4a026bc47a820a5eb40faa7aa1c221e6364f6 100644 (file)
@@ -11,7 +11,7 @@ module Api
     before_action :check_api_readable, :except => [:create, :update, :delete]
     around_action :api_call_handle_error, :api_call_timeout
 
-    before_action :default_format_xml
+    before_action :set_request_formats, :except => [:create, :update, :delete]
 
     def create
       assert_method :put