Displaying 1 result from an estimated 1 matches for "edit2_list_path".
2009 Jun 17
0
How to bulid additional link to
Hi
I have a small problem.
I have created simple scaffold project.
On index site i wanted to add second edit link but with different text
fields.
on index.html.erb
inserted
<td><%= link_to ''EDIT2'', edit2_list_path(list) %></td>
but when reloading index site following error appear
undefined method `comm_list_path'' for #<ActionView::Base:0xb67f57e0>
i have /views/edit2.html.erb
i have in my controller
def edit2
@list = List.find(params[:id])
end
same as working
def edit...