开发者

Overriding methods in strategies in Devise

开发者 https://www.devze.com 2023-02-05 07:44 出处:网络
This question: Toggling Devise authentication modules per controller action Has an a simple answer that indicates you should be able to override a method in the Devise Strategy, and the initial post

This question:

Toggling Devise authentication modules per controller action

Has an a simple answer that indicates you should be able to override a method in the Devise Strategy, and the initial poster of the question described how he couldn't get the override to work but added a whole new strategy.

My ques开发者_StackOverflow社区tion is: how do you get the override to work? It should be doable, but I haven't been able to figure it out.

0

精彩评论

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

关注公众号