Rails: Routing without plurals gives strange helpers

只愿长相守 提交于 2019-12-02 08:55:29

This has nothing to do with pluralizing. YOu need to use search_qtl_table_index_path when you reference it rather than just search_qtl_table_index (you need to add the _path to the end).

So, your form_tag statement should be:

<%= form_tag search_qtl_table_index_path, :method => 'get' do %>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!