# How to bulid additional link to

**URL:** <https://www.ruby-forum.com/t/how-to-bulid-additional-link-to/170408>\
**Category:** Rails\
**Created:** [June 17, 2009, 9:36am UTC](https://www.ruby-forum.com/t/how-to-bulid-additional-link-to/170408 "2009-06-17T09:36:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beny18241](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bbce88/32.png) [@beny18241](https://www.ruby-forum.com/u/beny18241)\
**Post date:** [June 17, 2009, 9:36am UTC](https://www.ruby-forum.com/t/how-to-bulid-additional-link-to/170408/1 "2009-06-17T09:36:23Z")

</div>

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

\<%= link\_to 'EDIT2', edit2\_list\_path(list) %\>

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
