Update issue_patch.rb

This commit is contained in:
2016-09-05 19:53:06 -04:00
committed by GitHub
parent c992370962
commit 5ffc9ed01c

View File

@@ -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