Manually setting return_to with devise

后端 未结 1 883
耶瑟儿~
耶瑟儿~ 2021-01-06 01:03

I am currently using Devise to authenticate users on my app. It\'s working great for the most point, but I am having trouble with a specific action:

view:



        
相关标签:
1条回答
  • 2021-01-06 01:48

    I believe the session key is :"#{scope}_return_to, which will be simply :user_return_to for a User class.

    0 讨论(0)
提交回复
热议问题