Skip to content

Commit

Permalink
Shorten Twitter share boilerplate
Browse files Browse the repository at this point in the history
Closes #295
walter committed Feb 1, 2014
1 parent 145ed38 commit 3d69a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/questions/show.html.erb
Original file line number Diff line number Diff line change
@@ -195,7 +195,7 @@
</div>

<div class='modal-shares'>
<a href='https://twitter.com/share?url=<%= current_url_without_share_encoded -%>&text=Get an answer! Support my question on @AskThemPPF: <%= URI.escape(@question.title) %>' target="_blank" class='modal-share cta-pill cta-pill-twitter'>
<a href='https://twitter.com/share?url=<%= current_url_without_share_encoded -%>&text=Support my question on @AskThemPPF: <%= URI.escape(@question.title) %>' target="_blank" class='modal-share cta-pill cta-pill-twitter'>
<i class='icon-twitter'></i>
Twitter
</a>

0 comments on commit 3d69a8d

Please sign in to comment.