我已经设计好了滑轨,想在演示者中访问current_user。我一直在使用
current_user
ActionController::Base.helpers
访问我的其他助手,但是current_user不可用。如何访问?
谢谢
这里是Devise的文档
https://github.com/plataformatec/devise#controller-filters-and-helpers