From c8413685d820b3874afd3cf1f04b04e2bd9c5cc4 Mon Sep 17 00:00:00 2001 From: riggraz Date: Thu, 6 Feb 2025 22:19:04 +0100 Subject: [PATCH] remove skip_forgery_protection --- app/controllers/local_files_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/local_files_controller.rb b/app/controllers/local_files_controller.rb index 28568a33..628842a9 100644 --- a/app/controllers/local_files_controller.rb +++ b/app/controllers/local_files_controller.rb @@ -1,6 +1,4 @@ class LocalFilesController < ApplicationController - skip_forgery_protection - def show blob = ActiveStorage::Blob.find_by(key: params[:key])