Created
September 9, 2013 21:26
-
-
Save alekseyg/6501738 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>LinkToBug</title> | |
<link data-turbolinks-track="true" href="/assets/application.css?body=1" media="all" rel="stylesheet" /> | |
<link data-turbolinks-track="true" href="/assets/bug.css?body=1" media="all" rel="stylesheet" /> | |
<script data-turbolinks-track="true" src="/assets/jquery.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/jquery_ujs.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/turbolinks.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/bug.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/application.js?body=1"></script> | |
<meta content="authenticity_token" name="csrf-param" /> | |
<meta content="zzPbV3pe+8VpYQcMgh6LrXsuYCo5GPricRPX0gOs8vI=" name="csrf-token" /> | |
</head> | |
<body> | |
<p> | |
<a href="/?hello=world">Hello World</a> | |
</p> | |
<p> | |
<a action="index" controller="bug" hello="world"> | |
<span>Hello Bug!</span> | |
</a></p> | |
<p> | |
<a href="/?hello=world"><span>Hello Workaround</span></a> | |
</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<%= link_to 'Hello World', params.merge(hello: 'world') %> | |
</p> | |
<p> | |
<%= link_to params.merge(hello: 'world') do %> | |
<span>Hello Bug!</span> | |
<% end %> | |
</p> | |
<p> | |
<%= link_to content_tag(:span, 'Hello Workaround'), | |
params.merge(hello: 'world') %> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment