Displaying 1 result from an estimated 1 matches for "invitation_token".
2011 Mar 17
7
Beta Invitation in Rails 3, little problem
...localhost:3000/signup.efweiuvwnjernfwkefwebhsohj
------------------------
But I have a dot in the url beteween http://localhost:3000 and the token
I wish the following url
http://localhost:3000/signup/efweiuvwnjernfwkefwebhsohj
------------------------
config/routes.rb
match ''/signup/:invitation_token'', :to => ''users#new''
TO HAVE MORE INFORMATION TAKE A LOOK IN THE FOLLOW SCRIPT
#app/models/invitation.rb #how generate the token
class Invitation < ActiveRecord::Base
belongs_to :sender, :class_name => ''User''
has_one :recipient, :class_name =...