Fixed routing conflict between CustomersNInvoicesNew and CustomersNInvoicesX.
This commit is contained in:
parent
ebf67925e0
commit
dcd6f553b7
|
@ -670,7 +670,7 @@ module StopTime::Controllers
|
||||||
#
|
#
|
||||||
# path:: /customers/_customer_id_/invoices/_invoice_number_
|
# path:: /customers/_customer_id_/invoices/_invoice_number_
|
||||||
# view:: Views#invoice
|
# view:: Views#invoice
|
||||||
class CustomersNInvoicesX
|
class CustomersNInvoicesX < R '/customers/(\d+)/invoices/([^/]+)'
|
||||||
include ActionView::Helpers::NumberHelper
|
include ActionView::Helpers::NumberHelper
|
||||||
include I18n
|
include I18n
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue