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:
@@ -91,6 +91,12 @@ module IssuePatch
|
||||
end
|
||||
end
|
||||
|
||||
# Create a shareable link for a customer
|
||||
def share_link
|
||||
token = DownloadToken.create(:expires_at => Time.now + 24.hours, :issue_id => id)
|
||||
link_to "#{tracker} ##{id}: #{subject}", view_path token.token
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
# Add module to Issue
|
||||
|
||||
Reference in New Issue
Block a user