more custom managed security
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
module Cmtool
|
module Cmtool
|
||||||
class Cmtool::ContactFormsController < Cmtool::ApplicationController
|
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
|
||||||
# GET /contact_forms.xml
|
# GET /contact_forms.xml
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module Cmtool
|
module Cmtool
|
||||||
class Cmtool::NewsletterSubscriptionsController < Cmtool::ApplicationController
|
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
|
||||||
# GET /newsletter_subscriptions.xml
|
# GET /newsletter_subscriptions.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user