Skip to content

Commit 292b7e1

Browse files
committed
Make Twitter share url point to snippet page
1 parent c29b518 commit 292b7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/share/snippet_tweets/tweet.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def view_template
3131
end
3232

3333
def tweet_url
34-
@snippet.screenshot.attached? ? rails_storage_proxy_url(@snippet.screenshot) : share_snippet_url(@snippet)
34+
share_snippet_url(@snippet)
3535
end
3636

3737
def auto? = !!@auto

0 commit comments

Comments
 (0)