config/routes.rb in opay-1.2.8 vs config/routes.rb in opay-1.3.0
- old
+ new
@@ -7,9 +7,19 @@
if Opay.config.process_payments_localy
patch 'paygw/UTF/NewPayment' => 'payu#paygw', as: :payu_new_payment
end
end
+ # transferuj
+ scope 'transferuj' do
+ post 'online' => 'transferuj#online', as: :transferuj_online
+
+ if Opay.config.process_payments_localy
+ patch 'secure' => 'transferuj#secure', as: :transferuj_new_payment
+ end
+ end
+
+
# paypal
scope 'paypal' do
patch 'new' => 'paypal#new', as: :paypal_new_payment
get 'confirm' => 'paypal#confirm', as: :paypal_confirm_payment
end