Sha256: 46dc2b180b680c25621da7d657dcac8dc33e6d2cb175af2759f929dc4d8fba37
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
routes = lambda do # Add your extension routes here resources :orders do resource :checkout, :controller => 'checkout' do member do get :skrill_cancel get :skrill_return end end end post '/skrill' => 'skrill_status#update' end if Spree::Core::Engine.respond_to?(:add_routes) Spree::Core::Engine.add_routes(&routes) else Spree::Core::Engine.routes.prepend(&routes) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_gateway-2.1.1 | config/routes.rb |