Hi, I want to redirect /join to /signup
Signup is defined as:
  map.signup '/signup', :controller => 'users', :action => 'new'

If i define join in the same way then the same content is displayed but
it is technically a different page (different URI)
  map.join '/join', :controller => 'users', :action => 'new'


I want /join to redirect to /signup.  Is this possible without creating
a join action just to contain the redirect?

I could just do the following but it is not RESTful and seems a bit
silly to be creating an exception just to do that.  Am i missing
something?
def join
  redirect_to signup_path
end
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to