From 65683128fbe22f8e7251b5db9af576c43df1acb1 Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Wed, 5 Oct 2016 08:13:30 +0200 Subject: [PATCH] Signed-off-by: Adrian Hinz --- app/controllers/invoices_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/invoices_controller.rb b/app/controllers/invoices_controller.rb index e2ab588..094738e 100644 --- a/app/controllers/invoices_controller.rb +++ b/app/controllers/invoices_controller.rb @@ -27,6 +27,8 @@ class InvoicesController < ApplicationController def edit @invoice = Invoice.find(params[:id]) + @user_firms = current_user.user_firms + @customers = current_user.customers end def update