Skip to content

Instantly share code, notes, and snippets.

@patrick99e99
Created May 22, 2012 06:00
Show Gist options
  • Save patrick99e99/2766938 to your computer and use it in GitHub Desktop.
Save patrick99e99/2766938 to your computer and use it in GitHub Desktop.
## my routes file
resources :users do
get :redeem, :on => :member
end
I want to be able to do:
redeem_user_path(@user, @user.code)
but I get:
"/users/123/redeem.456"
instead of:
"/users/123/redeem/456"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment