# ActionView URL helper problem

**URL:** <https://discuss.rubyonrails.org/t/actionview-url-helper-problem/39285>\
**Category:** rubyonrails-talk\
**Created:** [February 11, 2009, 8:19pm UTC](https://discuss.rubyonrails.org/t/actionview-url-helper-problem/39285 "2009-02-11T20:19:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [February 11, 2009, 8:19pm UTC](https://discuss.rubyonrails.org/t/actionview-url-helper-problem/39285/1 "2009-02-11T20:19:31Z")

</div>

James Byrne wrote:

> Classes and ids for CSS are easy to produce:
> 
> &nbsp;&nbsp;link\_to "Articles", articles\_path, :id =\> "news", :class =\> "article" &nbsp;&nbsp;# =\> \<a href="/articles" class="article" id="news"\>Articles\</a\>
> 
> In my code I do this:
> 
> \<%= link\_to 'List All Vendors', vendors\_path, :id="vendors\_index" %\>

and right after I posted this I saw my error = instead of =\>.
