From 1b6f83f70a0807bc0228feb841839f1f53dc3f0f Mon Sep 17 00:00:00 2001 From: benji Date: Sat, 12 Sep 2015 12:26:02 +0200 Subject: [PATCH] typo oO --- app/controllers/transactions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/transactions_controller.rb b/app/controllers/transactions_controller.rb index 230cd44..3452f6e 100644 --- a/app/controllers/transactions_controller.rb +++ b/app/controllers/transactions_controller.rb @@ -26,7 +26,7 @@ class TransactionsController < ApplicationController { debtor: t[:debtor] ? User.find_or_create_by(name: t[:debtor]) : User.zeus, - creditor: t[:creator] ? User.find_or_create_by(name: t[:creditor]) : User.zeus, + creditor: t[:creditor] ? User.find_or_create_by(name: t[:creditor]) : User.zeus, issuer: current_client || current_user, amount: (t[:euros].to_f*100 + t[:cents].to_f).to_i, message: t[:message]