Skip to content

Commit 2b70111

Browse files
committed
moved missing_params under private
1 parent b7fa544 commit 2b70111

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

app/controllers/fees_controller.rb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ def index
1616
redirect_to(action: :transaction_error)
1717
end
1818

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-
2319
def efee
2420
@jwt = params.require(:jwt)
2521
secret = EfeesInvoice.secret
@@ -80,6 +76,12 @@ def transaction_complete
8076
render json: { status: 'silent post received' }
8177
end
8278

79+
private
80+
81+
def missing_params(_error)
82+
redirect_to 'https://lib.berkeley.edu/find/borrow-renew?section=pay-fees', allow_other_host: true
83+
end
84+
8385
def authorize!
8486
return if Rails.env.development?
8587

0 commit comments

Comments
 (0)