Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The widget breaks with anonymous users #4

Closed
wants to merge 1 commit into from

Conversation

mx-moth
Copy link
Contributor

@mx-moth mx-moth commented Nov 28, 2011

Anonymous users do not have the likes collection, so the widget breaks. I added a check for anonymous users, which

  1. Does not break the view when the user is anonymous
  2. Does not render the 'like' button when the user is anonymous. The count is still shown

@paltman
Copy link
Member

paltman commented Nov 28, 2011

This is either already in master in some form or will be easier to get merged in from your other pull request.

@paltman paltman closed this Nov 28, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants