Permalink
Browse files

The flag for no ID comes in as a string, not as a number.

  • Loading branch information...
1 parent ca42ede commit 0cd7d36eae9f607c713ea775c6d694b0d7ce9136 @luigi luigi committed Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/main_controller.rb
@@ -20,7 +20,7 @@ def publisher
end
def latest
- if params[:since_id] == 0
+ if params[:since_id] == "0"
@activities = Activity.any_in(:publisher_ids => params[:following_ids].split(',')).
desc(:_id).
limit(20)

0 comments on commit 0cd7d36

Please sign in to comment.