Skip to content

Commit

Permalink
fix(transactions): fixed bug undefined method 't'
Browse files Browse the repository at this point in the history
  • Loading branch information
Creiwry committed Mar 3, 2023
1 parent c3b84d4 commit 203eb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/transactions/members/update_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def enroll_member_according_to_new_static_slots_or_send_error_report(input)
end

def update_member(input)
Failure(t('activerecord.errors.messages.update_fail')) unless @current_member.update(@member_params)
Failure(I18n.t 'activerecord.errors.messages.update_fail') unless @current_member.update(@member_params)

Success(input)
end
Expand Down

0 comments on commit 203eb08

Please sign in to comment.