Remove check_api_readable from api messages controller

This commit is contained in:
Anton Khorev 2024-12-23 04:10:05 +03:00
parent 99af52b478
commit 5dbf32d945

View file

@ -5,7 +5,6 @@ module Api
before_action :authorize before_action :authorize
before_action :check_api_writable, :only => [:create, :update, :destroy] before_action :check_api_writable, :only => [:create, :update, :destroy]
before_action :check_api_readable, :except => [:create, :update, :destroy]
authorize_resource authorize_resource