diff --git a/lib/hooks/issues_show_hook_listener.rb b/lib/hooks/issues_show_hook_listener.rb index 8bf9bc7..297b558 100644 --- a/lib/hooks/issues_show_hook_listener.rb +++ b/lib/hooks/issues_show_hook_listener.rb @@ -28,7 +28,7 @@ module Hooks context[:controller].send(:render_to_string, { partial: 'issues/show_details', locals: { - customer: issue.customer ? link_to(issue.customer): nill, + customer: issue.customer ? link_to(issue.customer) : nil, estimate_link: issue.estimate ? link_to(issue.estimate, issue.estimate, target: :_blank) : nil, invoice_link: invoice_link.html_safe, issue: issue