We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7fa544 commit 2b70111Copy full SHA for 2b70111
1 file changed
app/controllers/fees_controller.rb
@@ -16,10 +16,6 @@ def index
16
redirect_to(action: :transaction_error)
17
end
18
19
- def missing_params(_error)
20
- redirect_to 'https://lib.berkeley.edu/find/borrow-renew?section=pay-fees', allow_other_host: true
21
- end
22
-
23
def efee
24
@jwt = params.require(:jwt)
25
secret = EfeesInvoice.secret
@@ -80,6 +76,12 @@ def transaction_complete
80
76
render json: { status: 'silent post received' }
81
77
82
78
79
+ private
+
+ def missing_params(_error)
+ redirect_to 'https://lib.berkeley.edu/find/borrow-renew?section=pay-fees', allow_other_host: true
83
+ end
84
85
def authorize!
86
return if Rails.env.development?
87
0 commit comments