Skip to content

Instantly share code, notes, and snippets.

@adagio
Created August 21, 2014 00:15
Show Gist options
  • Save adagio/2359fdee39dea714a5ef to your computer and use it in GitHub Desktop.
Save adagio/2359fdee39dea714a5ef to your computer and use it in GitHub Desktop.
Sending parameter from a link_to tag
#
<%= link_to 'Link text', things_path(:dateparam => @thing.date) %>
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment