# Redirection after registration

**URL:** <https://www.ruby-forum.com/t/redirection-after-registration/164848>\
**Category:** Rails\
**Created:** [April 6, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/redirection-after-registration/164848 "2009-04-06T16:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haritha\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@haritha\_s](https://www.ruby-forum.com/u/haritha_s)\
**Post date:** [April 6, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/redirection-after-registration/164848/1 "2009-04-06T16:35:52Z")

</div>

Hello people …

In my application I have user registration, i am using remote\_form\_for  
and  
lightbox for registration.  
after successful registration cant able to come out of lightbox with  
redirection.  
how can i redirect from that action(to comeout of lightbox).

is it possible to do that?

Thank in advance!

---

<div class="post-metadata">

**Author:** ![haritha\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/2acd7d/32.png) [@haritha\_s](https://www.ruby-forum.com/u/haritha_s)\
**Post date:** [April 6, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/redirection-after-registration/164848/2 "2009-04-06T17:08:07Z")

</div>

On Mon, Apr 6, 2009 at 7:41 AM, haritha syamala  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello people …
> 
> In my application I have user registration, i am using remote\_form\_for and  
> lightbox for registration.  
> after successful registration cant able to come out of lightbox with  
> redirection.  
> how can i redirect from that action(to comeout of lightbox).  
> is it possible to do that?
> 
> Thank in advance!

In your .rjs template, do

page \<\< ‘window.location = “[http://www.google.com/](http://www.google.com/)”’

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)
