Update invoice_controller.rb

This commit is contained in:
2016-09-19 22:35:51 -04:00
committed by GitHub
parent ecde64193a
commit 6fa96e11df

View File

@@ -13,7 +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]
skip_before_filter :verify_authenticity_token, :check_if_login_required, :only => [:show] if session[:token]
#
# Downloads and forwards the invoice pdf