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/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to