mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customers_controller.rb
This commit is contained in:
1 parent
5209315236
commit
f3e9b58c87
1 file changed
+1
-1
@@ -107,7 +107,7 @@ class CustomersController < ApplicationController
|
||||
def view
|
||||
@token = CustomerToken.where("token = ? and expires_at > ?", params[:token], Time.now)
|
||||
if @token.first
|
||||
@issue = Issue.find token.first.issue_id
|
||||
@issue = Issue.find @token.first.issue_id
|
||||
@journals = @issue.journals.
|
||||
preload(:details).
|
||||
preload(:user => :email_address).
|
||||
|
||||
Reference in new issue
Block a user