From 5ffc9ed01c0c45bc34fefdc4309db677ae49361b Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 5 Sep 2016 19:53:06 -0400 Subject: [PATCH] Update issue_patch.rb --- lib/issue_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 23b83f2..6d6e768 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -94,7 +94,7 @@ module IssuePatch # Create a shareable link for a customer def share_link token = CustomerToken.create(:expires_at => Time.now + 24.hours, :issue_id => id) - link_to "#{tracker} ##{id}: #{subject}", view_path + token.token + return "#{Redmine::Utils::relative_url_root}/customers/view/#{token.token }" end end