Looks prettier @ http://bit.ly/dRaTCm if you want it :) Anyone I'm a bit
stumped here.
Error:
No route matches {:controller=>"users", :action=>"confirm",
:username=>"Mohammad",
:code=>"%242a%2410%24%2FN5mhFlnu.VJ.DMdzh3ob.%2FQAbSb82nHZuZDAl%2F27726MKm6kfLbW"}
Route:
get 'users/confirm/:username/:code' => 'users#confirm', :as =>
'user_confirmation'
Code:
<% url = user_confirmation_url(:username => @user.username, :code =>
@user.confirmation_code, :only_path => false) -%>
<% url = user_confirmation_path(:username => @user.username, :code =>
@user.confirmation_code, :only_path => false) -%>
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.