Merge pull request #971 from internetee/fix-method-name

Fix method name
This commit is contained in:
Timo Võhmar 2018-09-19 17:13:45 +03:00 committed by GitHub
commit 74a94ef10c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,8 @@ class Registrar
protect_from_forgery except: [:back, :callback]
skip_authorization_check # actually anyone can pay, no problems at all
skip_before_action :authenticate_user!, :check_ip_restriction, only: [:back, :callback]
skip_before_action :authenticate_registrar_user!, :check_ip_restriction,
only: [:back, :callback]
before_action :check_supported_payment_method
def pay