mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update issue_patch.rb
This commit is contained in:
@@ -92,9 +92,8 @@ module IssuePatch
|
||||
end
|
||||
|
||||
# Create a shareable link for a customer
|
||||
def share_link
|
||||
token = CustomerToken.create(:expires_at => Time.now + 24.hours, :issue_id => id)
|
||||
return "#{Redmine::Utils::relative_url_root}/customers/view/#{token.token }"
|
||||
def share_token
|
||||
CustomerToken.create(:expires_at => Time.now + 24.hours, :issue_id => id)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user