我创建了一个'messages'的脚手架,在链接中使用的new_message_path和edit_message_path都已设置好,但现在我创建了app/views/messages/sent.html.erb文件,我想做类似于<%= link_to 'Sent', sent_message_path %>的事情,但我不知道怎么做。我遇到了
undefined local variable or method `sent_message_path' for #<ActionView::Base:0x103117c50>