Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in twitter url

  • Loading branch information...
commit 7c68bd8c9a41dd148147d1b460b958b8fcbd6e6c 1 parent 527ce57
David Davis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/helpers/solutions_helper.rb
View
2  app/helpers/solutions_helper.rb
@@ -5,7 +5,7 @@ def twitter_link(problem, paste)
text = URI.escape("Check out my solution to '#{problem.title}' (#{url}) on #rubeque")
link = "http://twitter.com/share?"
link += "text=#{text}"
- link += "url=#{paste}"
+ link += "&url=#{paste}"
link_to "Edit your tweet on Twitter", link, class: "twitter"
end
end

0 comments on commit 7c68bd8

Please sign in to comment.
Something went wrong with that request. Please try again.