Sha256: cc0165efb5723f5d061bab1109d2a4c8c82953392a6156d194f34d01cd15f5f9

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

Spree::Core::Engine.routes.draw do

  get :gtpay_confirm, :controller => "checkout", :action => "confirm"
  resources :gtpay_transactions, :only => [:index] do
    collection do
      post :callback
    end
  end

  namespace :admin do
    resources :gtpay_transactions, :only => [:index] do
      get :query_interface, :on => :member
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_gtpay-1.0.2 config/routes.rb
spree_gtpay-1.0.1 config/routes.rb
spree_gtpay-1.0.0 config/routes.rb