Skip to content

Commit

Permalink
update the notes method
Browse files Browse the repository at this point in the history
  • Loading branch information
StlMaris123 authored and jywarren committed Jan 25, 2018
1 parent fd84e3f commit 8641733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Expand Up @@ -310,7 +310,7 @@ def questions
Node.questions.where(status: 1, uid: id)
end

def content_followed_in_past_period(time_period)
def self.content_followed_in_past_period(time_period)
self.node.where("created >= #{time_period.to_i} AND changed >= #{time_period.to_i}")
end

Expand Down

0 comments on commit 8641733

Please sign in to comment.