Sha256: 42bd3f1cb235baa67c611ab146ca01c08f06e67b97b7446cf97330f82dd9212a

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

Workarea::Storefront::Engine.routes.draw do
  get 'afterpay/start' => 'afterpay#start', as: :start_afterpay
  get 'afterpay/complete/' => 'afterpay#complete', as: :complete_afterpay
  get 'afterpay/cancel/' => 'afterpay#cancel', as: :cancel_afterpay
  get 'afterpay_dialog' => 'afterpay_dialog#show', as: :afterpay_dialog
end


Workarea::Admin::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    namespace :afterpay do
      resource :configuration, only: [:edit, :update]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-afterpay-2.1.2 config/routes.rb
workarea-afterpay-2.1.1 config/routes.rb
workarea-afterpay-2.1.0 config/routes.rb
workarea-afterpay-2.0.2 config/routes.rb