app/controllers/debit_invoices_controller.rb
Method new
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def new
# Allow pre-seeding some parameters
text = t('letters.debit_invoice.closing')
text += "\n\n" + t('letters.debit_invoice.greetings')
text += "\n" + current_user.person.vcard.full_name