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
@list = List.find(params[:id])
end
please help
--
Posted via http://www.ruby-forum.com/.