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:
parent
0c7fa2caec
commit
a7f0de41e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue