Update issue_patch.rb

This commit is contained in:
2016-09-03 09:17:55 -04:00
committed by GitHub
parent 9b91e4fd63
commit f57c3c3df0

View File

@@ -93,7 +93,7 @@ module IssuePatch
# Create a shareable link for a customer
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
end