Skip to content

Commit

Permalink
Remove extra curly bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
jwworth committed Nov 5, 2017
1 parent 9ef6a38 commit 9db0f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tilex_web/views/layout_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule TilexWeb.LayoutView do
end
end
def twitter_image_url(name) when is_binary(name) do
TilexWeb.Endpoint.static_url() <> "/assets/#{name}_twitter_card.png}"
TilexWeb.Endpoint.static_url() <> "/assets/#{name}_twitter_card.png"
end
def twitter_image_url(name) when is_nil(name) do
TilexWeb.Endpoint.static_url() <> "/assets/til_twittercard.png"
Expand Down

0 comments on commit 9db0f6b

Please sign in to comment.