From 32422df06a7acc6b720b9cfdb0d033ba4602b700 Mon Sep 17 00:00:00 2001 From: moveson Date: Sun, 12 Nov 2023 07:36:33 -0700 Subject: [PATCH] Remove unnecessary skip_before_action --- app/controllers/api_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index c093e929a..95c158177 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -3,7 +3,6 @@ class ApiController < ::ApplicationController include Rails::Pagination skip_forgery_protection - skip_before_action :verify_authenticity_token before_action :authenticate_user! after_action :verify_authorized rescue_from ActiveRecord::RecordNotFound, with: :record_not_found_json