Commit 72c0c1d5607d9a63128e7e5d6fffc6b2a4edecef
1 parent
22a996ac
Exists in
master
and in
1 other branch
Link to the Campfire account in the apps table, service rather than the Campfire homepage
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/models/notification_services/campfire_service.rb
| @@ -23,7 +23,7 @@ if defined? Campy | @@ -23,7 +23,7 @@ if defined? Campy | ||
| 23 | end | 23 | end |
| 24 | 24 | ||
| 25 | def url | 25 | def url |
| 26 | - "http://campfirenow.com/" | 26 | + "http://#{account}.campfirenow.com/" |
| 27 | end | 27 | end |
| 28 | 28 | ||
| 29 | def create_notification(problem) | 29 | def create_notification(problem) |
| @@ -33,4 +33,4 @@ if defined? Campy | @@ -33,4 +33,4 @@ if defined? Campy | ||
| 33 | campy.speak "[errbit] #{problem.app.name} #{notification_description problem} - http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}/problems/#{problem.id.to_s}" | 33 | campy.speak "[errbit] #{problem.app.name} #{notification_description problem} - http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}/problems/#{problem.id.to_s}" |
| 34 | end | 34 | end |
| 35 | end | 35 | end |
| 36 | -end | 36 | -end |
| 37 | +end | ||
| 37 | \ No newline at end of file | 38 | \ No newline at end of file |