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