mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update issue_patch.rb
This commit is contained in:
@@ -93,7 +93,7 @@ module IssuePatch
|
|||||||
|
|
||||||
# Create a shareable link for a customer
|
# Create a shareable link for a customer
|
||||||
def share_link
|
def share_link
|
||||||
token = DownloadToken.create(:expires_at => Time.now + 24.hours, :issue_id => id)
|
token = CustomerToken.create(:expires_at => Time.now + 24.hours, :issue_id => id)
|
||||||
link_to "#{tracker} ##{id}: #{subject}", view_path + token.token
|
link_to "#{tracker} ##{id}: #{subject}", view_path + token.token
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user