lib/helpers/controller_helpers.rb in wepay-rails-0.1.11 vs lib/helpers/controller_helpers.rb in wepay-rails-0.1.12
- old
+ new
@@ -21,10 +21,10 @@
def redirect_to_wepay_for_auth(redirect_uri, scope)
redirect_to gateway.auth_code_url(redirect_uri, scope)
end
def gateway
- @gateway ||= Gateway.new
+ @gateway ||= WepayRails::Payments::Gateway.new
end
def wepay_auth_code=(auth_code)
gateway.wepay_auth_code = auth_code
end
\ No newline at end of file