Commit f761cda4033a447539f386847f1e4d743a88ce28

Authored by Marcin Ciunelis
1 parent f1979f6e
Exists in master and in 1 other branch production

app_err_url -> app_problem_url

app/models/notification_services/hipchat_service.rb
@@ -17,7 +17,7 @@ class NotificationServices::HipchatService < NotificationService @@ -17,7 +17,7 @@ class NotificationServices::HipchatService < NotificationService
17 end 17 end
18 18
19 def create_notification(problem) 19 def create_notification(problem)
20 - url = app_err_url problem.app, problem 20 + url = app_problem_url problem.app, problem
21 message = <<-MSG.strip_heredoc 21 message = <<-MSG.strip_heredoc
22 [#{ERB::Util.html_escape problem.app.name}]#{ERB::Util.html_escape notification_description(problem)}<br> 22 [#{ERB::Util.html_escape problem.app.name}]#{ERB::Util.html_escape notification_description(problem)}<br>
23 <a href="#{url}">#{url}</a> 23 <a href="#{url}">#{url}</a>