Commit a75eb299995423bbfc8bdd29cf6e16d0df21183d

Authored by Shuky Dvir
2 parents 22a996ac 9c86867d
Exists in master and in 1 other branch production

Merge pull request #295 from amaabca/campfire-notification-link

Campfire notification link
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://#{subdomain}.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