Skip to content

Commit

Permalink
fix bug sending resolved problem email
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed Feb 10, 2012
1 parent 0063b3d commit 5e13cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/jobs/site_fetcher.rb
@@ -1,7 +1,6 @@
class SiteFetcher
@queue = :fetch
extend ActionView::Helpers::DateHelper


# Fetch a site and log the result and update site according to the result.
#
# Side Effect: If the status changed from anything to FAILED, or changed
Expand Down
2 changes: 2 additions & 0 deletions app/mailers/sites_mailer.rb
@@ -1,5 +1,7 @@
class SitesMailer < ActionMailer::Base
include Resque::Mailer
include ActionView::Helpers::DateHelper

helper :sites

default :from => Settings.email.sender
Expand Down

0 comments on commit 5e13cef

Please sign in to comment.