From 8b21ba67aa227b7b0c99ac786ae7ea35824e3b06 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Mon, 15 Oct 2012 18:27:35 +0800 Subject: [PATCH] Campfire: include app name in message, and link to problem rather than app. --- app/models/notification_services/campfire_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/notification_services/campfire_service.rb b/app/models/notification_services/campfire_service.rb index 986fbff..996c925 100644 --- a/app/models/notification_services/campfire_service.rb +++ b/app/models/notification_services/campfire_service.rb @@ -25,7 +25,7 @@ if defined? Campy campy = Campy::Room.new(:account => subdomain, :token => api_token, :room_id => room_id) # post the issue to the campfire room - campy.speak "[errbit] http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s} #{notification_description problem}" + campy.speak "[errbit] #{problem.app.name} #{notification_description problem} - http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}/problems/#{problem.id.to_s}" end end -end \ No newline at end of file +end -- libgit2 0.21.2