]> git.openstreetmap.org Git - rails.git/commitdiff
Remove check_api_readable from api messages controller
authorAnton Khorev <tony29@yandex.ru>
Mon, 23 Dec 2024 01:10:05 +0000 (04:10 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 23 Dec 2024 01:10:05 +0000 (04:10 +0300)
app/controllers/api/messages_controller.rb

index cbbd8539cc76e7333437615341a8a2f9b45ba06f..ea5abe8dfc57a2afcab4638ae390dcd61163af15 100644 (file)
@@ -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