Disable authentication for API
Some checks failed
Ruby on Rails Test / rails-test (push) Has been cancelled
Some checks failed
Ruby on Rails Test / rails-test (push) Has been cancelled
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
module Api
|
||||
module V1
|
||||
class OrdersController < ApiController
|
||||
before_action :authenticate_user!
|
||||
# Skip API key authentication for store_cart action (used by frontend forms)
|
||||
skip_before_action :authenticate_api_key, only: [ :store_cart ]
|
||||
|
||||
before_action :set_order, only: [ :show, :checkout, :retry_payment, :increment_payment_attempt ]
|
||||
before_action :set_event, only: [ :new, :create ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user