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
39e7d3c062
commit
c8ef3bbd4e
1 file changed
+1
-1
@@ -15,7 +15,7 @@ class InvoiceController < ApplicationController
|
||||
before_filter :require_user
|
||||
skip_before_filter :verify_authenticity_token, :check_if_login_required, :only => [:show] if authorized
|
||||
|
||||
def authorized
|
||||
def self.authorized
|
||||
session[:token].nil?
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user