Created
December 24, 2013 05:46
-
-
Save ueno1969/8109254 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
p | |
= link_to("test link", '/?x=1&y=2') | |
p | |
== link_to("test link2", '/?x=1&y=2') | |
p | |
= link_to("test link3", :href => '/?x=1&y=2') | |
p | |
= link_to("test link4", '/?x=1&y=2'.html_safe) |
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("test link", '/?x=1&y=2') %> | |
</p> | |
<p> | |
<%== link_to("test link2", '/?x=1&y=2') %> | |
</p> | |
<p> | |
<%= link_to("test link3", :href => '/?x=1&y=2') %> | |
</p> | |
<p> | |
<%= link_to("test link4", '/?x=1&y=2'.html_safe) %> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get Source(with indent)