From 5dbf32d9452e1032f86ec887965378b83bfd2bb8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 23 Dec 2024 04:10:05 +0300 Subject: [PATCH] Remove check_api_readable from api messages controller --- app/controllers/api/messages_controller.rb | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5