From ecde64193a01ca7455c719e57c18fe3a5b517955 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 19 Sep 2016 22:32:30 -0400 Subject: [PATCH] Update invoice_controller.rb --- app/controllers/invoice_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/invoice_controller.rb b/app/controllers/invoice_controller.rb index 42308ef..f0b25e9 100644 --- a/app/controllers/invoice_controller.rb +++ b/app/controllers/invoice_controller.rb @@ -13,6 +13,7 @@ class InvoiceController < ApplicationController include AuthHelper before_filter :require_user + skip_before_filter :verify_authenticity_token, :check_if_login_required, :only => [:view] if session[:token] # # Downloads and forwards the invoice pdf