mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update invoice_controller.rb
This commit is contained in:
1 parent
52396eb384
commit
3965bed6c4
1 file changed
+2
-2
@@ -12,8 +12,8 @@ class InvoiceController < ApplicationController
|
||||
|
||||
include AuthHelper
|
||||
|
||||
before_filter :require_user, :if -> { not session[:token] }
|
||||
skip_before_filter :verify_authenticity_token, :check_if_login_required, :if -> { not session[:token] }
|
||||
before_filter :require_user, :unless -> { session[:token] }
|
||||
skip_before_filter :verify_authenticity_token, :check_if_login_required, :unless -> { session[:token] }
|
||||
|
||||
#
|
||||
# Downloads and forwards the invoice pdf
|
||||
|
||||
Reference in new issue
Block a user