Sha256: a0d7b364be234be0c15a0fb4862aaa70d58718cd370355ac5797c1fcda6fb62b

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

Workarea::Storefront::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    post 'paypal' => 'paypal#create'
    put 'paypal/:id/approved' => 'paypal#update', as: :paypal_approved
    post 'paypal/event' => 'paypal#event', as: :paypal_event
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-paypal-3.0.6 config/routes.rb
workarea-paypal-3.0.5 config/routes.rb
workarea-paypal-3.0.4 config/routes.rb