From 6999b99b4c337b7c2300474523279f122376665f Mon Sep 17 00:00:00 2001 From: nayib Date: Fri, 26 Jan 2024 16:52:16 +0100 Subject: [PATCH] Remove unnecessary before action --- app/controllers/pages_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 652a724a..84f118ab 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -1,6 +1,5 @@ class PagesController < ApplicationController before_action :save_referer, except: [:handbook] - protect_from_forgery with: :null_session def home end