# Redirect without creating a new action

**URL:** <https://www.ruby-forum.com/t/redirect-without-creating-a-new-action/154380>\
**Category:** Rails\
**Created:** [November 28, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/redirect-without-creating-a-new-action/154380 "2008-11-28T14:26:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratcheer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Post date:** [November 28, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/redirect-without-creating-a-new-action/154380/1 "2008-11-28T14:26:16Z")

</div>

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
