Skip to content

Commit c8b3680

Browse files
committed
fixed rubocop indentation error
1 parent ebc5e9f commit c8b3680

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

app/controllers/fees_controller.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)