File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ class FeesController < ApplicationController
66 protect_from_forgery with : :null_session
77
88 def index
9- @jwt = params . require ( :jwt )
10- decoded_token = JWT . decode @jwt , nil , false
11- @alma_id = decoded_token . first [ 'userName' ]
12- @fees = FeesPayment . new ( alma_id : @alma_id )
13- rescue ActionController ::ParameterMissing
14- redirect_to 'https://www.lib.berkeley.edu/find/borrow-renew?section=pay-fees' , allow_other_host : true
15- rescue JWT ::DecodeError
16- redirect_to ( action : :transaction_error )
9+ @jwt = params . require ( :jwt )
10+ decoded_token = JWT . decode @jwt , nil , false
11+ @alma_id = decoded_token . first [ 'userName' ]
12+ @fees = FeesPayment . new ( alma_id : @alma_id )
13+ rescue ActionController ::ParameterMissing
14+ redirect_to 'https://www.lib.berkeley.edu/find/borrow-renew?section=pay-fees' , allow_other_host : true
15+ rescue JWT ::DecodeError
16+ redirect_to ( action : :transaction_error )
1717 end
1818
1919 def efee
You can’t perform that action at this time.
0 commit comments