开发者

ruby-on-rails devise gem

开发者 https://www.devze.com 2023-01-19 06:55 出处:网络
I use Ruby On Rails and devise gem. I want redirect user after registration, b开发者_如何学编程ut in devise i can redirect only after sign_in (http://github.com/plataformatec/devise/wiki/How-To:-Redi

I use Ruby On Rails and devise gem.

I want redirect user after registration, b开发者_如何学编程ut 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).


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消