re-annotate

This commit is contained in:
Ilion Beyst 2015-09-09 12:50:39 +02:00
parent 87c2994cf0
commit 95f4c54780
4 changed files with 7 additions and 4 deletions

View file

@ -11,7 +11,7 @@ class TransactionsController < ApplicationController
def create
@transaction = current_user.outgoing_transactions.build(
transaction_params.merge(origin: I18n.t('origin.created_by_user'))
transaction_params.merge(origin: I18n.t('origin.created_by_user')))
if @transaction.save
redirect_to current_user

View file

@ -5,8 +5,9 @@
# id :integer not null, primary key
# debtor_id :integer not null
# creditor_id :integer not null
# issuer_id :integer not null
# issuer_type :string not null
# amount :integer default(0), not null
# origin :string not null
# message :string
# created_at :datetime not null
# updated_at :datetime not null

View file

@ -5,8 +5,9 @@
# id :integer not null, primary key
# debtor_id :integer not null
# creditor_id :integer not null
# issuer_id :integer not null
# issuer_type :string not null
# amount :integer default(0), not null
# origin :string not null
# message :string
# created_at :datetime not null
# updated_at :datetime not null

View file

@ -5,8 +5,9 @@
# id :integer not null, primary key
# debtor_id :integer not null
# creditor_id :integer not null
# issuer_id :integer not null
# issuer_type :string not null
# amount :integer default(0), not null
# origin :string not null
# message :string
# created_at :datetime not null
# updated_at :datetime not null