From a7f0de41e65f90c8a20e1a219a5b7ecf498628a7 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 11 Jan 2023 15:28:02 +0000 Subject: [PATCH] Use web_timeout for notes controller This controller doesn't handle any API methods, and so the api call error handling isn't appropriate. --- app/controllers/notes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5