Skip to content

Conversation

matyikriszta
Copy link
Contributor

@matyikriszta matyikriszta commented Dec 7, 2023

Description

When we upgraded to Rails 7 we moved some assets around and the logo-square.png asset was deleted from public/images, but we forgot to update the reference to this image in that location in the app/views/layouts/_meta.html.haml file. The og:image meta tag is still looking for this image in that location. Update the og:image tag to serve the image from the asset pipeline instead. This fix should get rid of a warning in Rollbar with a large amount of occurrences.

Status

Ready for Review

Related Rollbar error/warning

https://app.rollbar.com/a/codebar-production/fix/item/codebar-production/521

ActionController::RoutingError: No route matches [GET] '/images/logo-square.png'
@matyikriszta matyikriszta force-pushed the fix-rollbar-warning-521-missing-logo-image branch from 7404195 to 1e38ff2 Compare December 7, 2023 21:20
Copy link
Contributor

@KimberleyCook KimberleyCook left a comment

Choose a reason for hiding this comment

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

🎉

@matyikriszta matyikriszta merged commit 168aca1 into master Dec 8, 2023
@matyikriszta matyikriszta deleted the fix-rollbar-warning-521-missing-logo-image branch December 8, 2023 21:29
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.

2 participants