我想动态设置的我可以强调一个URL路径
- application_path = @object.class.name.underscore + "_path"
= link_to "<input type='button' value='Cancel' class ='bigbutton go_back'/>".html_safe, application_path(@application)
的URL路径,但我不断收到
undefined method `application_path' for #<#<Class:0x00000103d11d80>:0x00000103d04a68>
就如何实现这一行为的任何想法