Is there way to use link_to tag inside controller?

前端 未结 0 1305
-上瘾入骨i
-上瘾入骨i 2021-02-03 19:17

I want to use link_to tag inside a controller. I added include ActionView::Helpers::UrlHelper and here is the my code.

def authenticate_user!
    unl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题