diff --git a/app/controllers/invoice_controller.rb b/app/controllers/invoice_controller.rb index f0b25e9..56ad39c 100644 --- a/app/controllers/invoice_controller.rb +++ b/app/controllers/invoice_controller.rb @@ -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