2 pages using the same url using rails routes.
        Posted  
        
            by espinet
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by espinet
        
        
        
        Published on 2010-03-15T20:48:22Z
        Indexed on 
            2010/03/15
            20:49 UTC
        
        
        Read the original article
        Hit count: 255
        
Im trying make a login page for my rails application that looks like "www.domain.com" and when you login you still are still located at the domain "www.domain.com". Is there a way that I can map 2 different actions to the same url using routes. Twitter does it this way, you log in at twitter.com and after you are logged in you are still located at twitter.com.
Thanks.
© Stack Overflow or respective owner