From 02e60c174da507348c5c268ea7d2a18e5e61c080 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Sun, 29 Dec 2019 12:56:41 -0500 Subject: [PATCH] more custom managed security --- app/controllers/cmtool/contact_forms_controller.rb | 2 +- app/controllers/cmtool/newsletter_subscriptions_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/cmtool/contact_forms_controller.rb b/app/controllers/cmtool/contact_forms_controller.rb index a492aaf..4aed984 100644 --- a/app/controllers/cmtool/contact_forms_controller.rb +++ b/app/controllers/cmtool/contact_forms_controller.rb @@ -1,6 +1,6 @@ module Cmtool class Cmtool::ContactFormsController < Cmtool::ApplicationController - skip_before_action :authenticate_user!, :authorize_user, only: :add + skip_before_action :authorize_user, only: :add # GET /contact_forms # GET /contact_forms.xml diff --git a/app/controllers/cmtool/newsletter_subscriptions_controller.rb b/app/controllers/cmtool/newsletter_subscriptions_controller.rb index 64a8999..aab4efb 100644 --- a/app/controllers/cmtool/newsletter_subscriptions_controller.rb +++ b/app/controllers/cmtool/newsletter_subscriptions_controller.rb @@ -1,6 +1,6 @@ module Cmtool class Cmtool::NewsletterSubscriptionsController < Cmtool::ApplicationController - skip_before_action :authenticate_user!, :authorize_user, only: :add + skip_before_action :authorize_user, only: :add # GET /newsletter_subscriptions # GET /newsletter_subscriptions.xml