Oksana
Oksana

Reputation: 13942

ruby-on-rails devise gem

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).

Upvotes: 0

Views: 420

Answers (1)

Maran
Maran

Reputation: 2736

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.

Upvotes: 1

Related Questions