Skip to content

Commit

Permalink
mettag on articles
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Oct 13, 2023
1 parent 9dacbd4 commit a5dc056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/articles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def show
# url: Routes.articles_show_url(socket, :show, post.id),
title: "#{@post.title} on Rauversion",
description: "Read #{@post.title} by #{@post.user.username} on Rauversion.",
image: @post.cover_url(:small)
image: @post&.cover_url(:small)&.url,
)
end

Expand Down

0 comments on commit a5dc056

Please sign in to comment.