views:

39

answers:

1

Hi!

I use Ruby On Rails and devise gem.

I want redirect user after registration, but in devise i can redirect only after sign_in (http://github.com/plataformatec/devise/wiki/How-To:-Redirect-to-a-specific-page-on-successful-sign-in).

+1  A: 

Follow this wiki page, but instead of defining after_update_path_for define after_inactive_sign_up_path_for.

See the original registrations_controller for more information and methods.

Maran