Use web_timeout for notes controller

This controller doesn't handle any API methods, and so the api call
error handling isn't appropriate.
This commit is contained in:
Andy Allan 2023-01-11 15:28:02 +00:00
parent 0c7fa2caec
commit a7f0de41e6

View file

@ -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