From: Anton Khorev Date: Mon, 23 Dec 2024 01:10:05 +0000 (+0300) Subject: Remove check_api_readable from api messages controller X-Git-Tag: live~103^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5dbf32d9452e1032f86ec887965378b83bfd2bb8?hp=99af52b4785438f931481f730a91805e1ddf975f Remove check_api_readable from api messages controller --- diff --git a/app/controllers/api/messages_controller.rb b/app/controllers/api/messages_controller.rb index cbbd8539c..ea5abe8df 100644 --- a/app/controllers/api/messages_controller.rb +++ b/app/controllers/api/messages_controller.rb @@ -5,7 +5,6 @@ module Api before_action :authorize before_action :check_api_writable, :only => [:create, :update, :destroy] - before_action :check_api_readable, :except => [:create, :update, :destroy] authorize_resource