overriding devise after_sign_up_path_for not working

后端 未结 7 1496
刺人心
刺人心 2020-12-15 17:48

In routes i have the root-path pointing \"home#index\" but when i try to override that with after_sign_up_path_for keeps redirecting me to the root path when I

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 18:11

    If you also have the Confirmable module enabled, you have to override after_inactive_sign_up_path_for since a new sign-up is "inactive" until it's confirmed. after_sign_up_path_for doesn't seem to get called when Confirmable is active.

提交回复
热议问题