Created
May 22, 2012 06:00
-
-
Save patrick99e99/2766938 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
## 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