因此,我对铁路拖车(铁路线)做了迅速的废墟。 我的源代码与。
然后,我尝试用对电文作出答复。 我的评论是下层Boy1337。 这就是说的:
我不断看到一个错误的话。
undefined method `new_message_path
页: 1
页: 1
<%= link_to "Reply", new_message_path(:parent_id => message) %>
<% if current_user?(message.user) %>
<%= link_to "delete", message, method: :delete,
confirm: "You sure?",
title: message.content %>
<% end %>
如何界定新的主题? 我尝试加进
def new_message_path
end
...but it didn t work. I have downloaded the source code (https://github.com/BigBoy1337/railscasts-episodes/tree/master/episode-262/messenger-after) and that works! but I cant find where they define new_message_path, yet it works. Why does it work 页: 1 them, and how can I get it to work 页: 1 me?