Fixed rubocop messages

This commit is contained in:
Al Snow
2018-03-08 17:02:24 -05:00
parent 8dc8f4d61b
commit b8262ecb0a
7 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ class PayController < ApplicationController
msg = true if pay.save!
respond_to do |format|
format.json {render json: {msg: msg } }
format.json { render json: {msg: msg } }
end
end
@@ -38,7 +38,7 @@ class PayController < ApplicationController
def decrypted_bank_acct_num
decrypted = Encryption.decrypt_sensitive_value(params[:value_to_decrypt])
respond_to do |format|
format.json {render json: {account_num: decrypted || "No Data" }}
format.json { render json: {account_num: decrypted || "No Data" } }
end
end
end
+1 -1
View File
@@ -15,7 +15,7 @@ class ScheduleController < ApplicationController
end
respond_to do |format|
format.json {render json: {msg: message ? "success" : "failure" }}
format.json { render json: {msg: message ? "success" : "failure" } }
end
end