From: Andy Allan Date: Wed, 11 Jan 2023 15:28:02 +0000 (+0000) Subject: Use web_timeout for notes controller X-Git-Tag: live~1423^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a7f0de41e65f90c8a20e1a219a5b7ecf498628a7 Use web_timeout for notes controller This controller doesn't handle any API methods, and so the api call error handling isn't appropriate. --- diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 9f2fdb7e2..7d6163f48 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -7,7 +7,7 @@ class NotesController < ApplicationController authorize_resource before_action :set_locale - around_action :api_call_handle_error, :api_call_timeout + around_action :web_timeout ## # Display a list of notes by a specified user