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