mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update invoice_controller.rb
This commit is contained in:
@@ -15,7 +15,7 @@ class InvoiceController < ApplicationController
|
|||||||
before_filter :require_user
|
before_filter :require_user
|
||||||
skip_before_filter :verify_authenticity_token, :check_if_login_required, :only => [:show] if authorized
|
skip_before_filter :verify_authenticity_token, :check_if_login_required, :only => [:show] if authorized
|
||||||
|
|
||||||
def authorized
|
def self.authorized
|
||||||
session[:token].nil?
|
session[:token].nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user