Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- link_to "Comment wall", profile_path(@profile, :anchor => "wall")
- // => <a href="/profiles/1#wall">Comment wall</a>
- link_to "Ruby on Rails search", :controller => "searches", :query => "ruby on rails"
- // => <a href="/searches?query=ruby+on+rails">Ruby on Rails search</a>
- link_to "Nonsense search", searches_path(:foo => "bar", :baz => "quux")
- // => <a href="/searches?foo=bar&baz=quux">Nonsense search</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement