Skip to content

Commit

Permalink
fixing growl.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Silvis authored and Mike Silvis committed May 25, 2012
1 parent b580a81 commit 04902df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/growl.rb
Expand Up @@ -21,7 +21,7 @@ class Growl < ActiveRecord::Base
before_save :set_original_created_at
before_save :add_trend

def self.since
def self.since(epoch)
where{ created_at.gt Time.at(epoch) } unless epoch.nil?
end

Expand Down Expand Up @@ -77,7 +77,7 @@ def regrowled?

def regrowl_link(request)
if regrowled?
"http://api.#{request.domain}/feeds/#{get_original_user.slug}/growls/" +
"http://api.#{request.domain}/feeds/#{get_original_user.slug}/growls/" +
"#{original_growl.id}"
else
""
Expand Down

0 comments on commit 04902df

Please sign in to comment.