spec/dummy/config/routes.rb in opay-1.2.0 vs spec/dummy/config/routes.rb in opay-1.2.1
- old
+ new
@@ -1,5 +1,9 @@
Rails.application.routes.draw do
root to: 'orders#index'
resources :orders
+
+ get 'success' => 'payments#success', as: :success_payment
+ get 'cancel' => 'payments#cancel', as: :cancel_payment
+
mount Opay::Engine => '/opay'
end