diff --git a/lib/issues_show_hook_listener.rb b/lib/issues_show_hook_listener.rb index 966692a..593e72e 100644 --- a/lib/issues_show_hook_listener.rb +++ b/lib/issues_show_hook_listener.rb @@ -22,7 +22,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener # Check to see if there is a quickbooks user attached to the issue if issue.customer - customer = link_to issue.customer.name, issue.customer + customer = link_to issue.customer.name, "#{Redmine::Utils::relative_url_root}/qbo/customers/#{issue.customer.id}" end # Check to see if there is a quickbooks item attached to the issue