Skip to content

Conversation

@svara
Copy link
Contributor

@svara svara commented Jan 19, 2026

No description provided.

json.creator notification.creator, partial: "users/user", as: :user
json.creator do
json.partial! "users/user", user: notification.creator
json.avatar_url user_avatar_url(notification.creator)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorgemanrubia Do you see any reason why we couldn't include the avatar url in the existing user partial?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svara should be fine to add it to the user partial

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.

3 participants