Sha256: d60a5aa97add2572cf1aba24236c10ab91f282dab4c8f87a31d94f70ee4caddc
Contents?: true
Size: 627 Bytes
Versions: 4
Compression:
Stored size: 627 Bytes
Contents
# we need to add this route to the root Rails application because Spree can # be mounted to some path eg. /shop and Apple Pay expects to access this file # via https://example.com/.well-known/apple-developer-merchantid-domain-association Rails.application.routes.draw do get '/.well-known/apple-developer-merchantid-domain-association' => 'spree/apple_pay_domain_verification#show' end Spree::Core::Engine.add_routes do namespace :api, defaults: { format: 'json' } do namespace :v2 do namespace :storefront do namespace :intents do post :handle_response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spree_gateway-3.9.4 | config/routes.rb |
spree_gateway-3.9.3 | config/routes.rb |
spree_gateway-3.9.2 | config/routes.rb |
spree_gateway-3.9.0 | config/routes.rb |