Handle errors using Gaffe

This commit is contained in:
wvengen 2015-06-06 20:20:07 +02:00
parent ae4979a3f0
commit 9efa9d5d43
12 changed files with 71 additions and 17 deletions

View file

@ -1,3 +1,3 @@
- title t('.title')
= render :partial => 'form'
= link_to t('.back'), finance_invoices_path
= link_to t('ui.or_cancel'), finance_invoices_path

View file

@ -36,5 +36,4 @@
=h @invoice.note
= link_to t('ui.edit'), edit_finance_invoice_path(@invoice)
|
= link_to t('.back'), finance_invoices_path
= link_to t('ui.or_cancel'), finance_invoices_path