X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dcfe326f6515cc7aeb9c02b7536e69863c60cd01..4f304e23018e9a1380e2374b9a8d419275d99c76:/app/controllers/changeset_comments_controller.rb?ds=sidebyside diff --git a/app/controllers/changeset_comments_controller.rb b/app/controllers/changeset_comments_controller.rb index 4abffb90e..0b5f6059a 100644 --- a/app/controllers/changeset_comments_controller.rb +++ b/app/controllers/changeset_comments_controller.rb @@ -4,7 +4,7 @@ class ChangesetCommentsController < ApplicationController authorize_resource - before_action -> { check_database_readable(true) } + before_action -> { check_database_readable(:need_api => true) } around_action :web_timeout ##