Routing error with devise {:controller=>“devise/static”, :action=>“about”}

前端 未结 1 1397
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-21 16:12

I got a problem with devise. Every time I try to call an Url that should be handled by devise (e.g. http://localhost:3000/users/sign_up) I end up with the following error:

相关标签:
1条回答
  • 2021-01-21 16:20

    The error for me was fixed when I changed my link_to methods.

    In my header I had:

    <%= link_to "Info", :controller => :info %>
    

    and when I switched it to:

    <%= link_to "Info", "/info" %>
    

    the error was gone!

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