Css classes


Can’t find any documentation about this so…
Is there a way to assign a class within a link_to method and if so how?

For example, I need the following to format link from <%= link_to “Pages”, :controller => ‘page’,
:action => “list” %>


<%= link_to “Pages”, { :controller => ‘page’, :action => ‘list’ },
:class =>
‘someclass’ -%>


I had tried that but without putting the controller and action in
brackets. That works great! Thanks!