I have a resource 'users'.  the index page has a 'link_to' tag I
created on the line item level for a specific view.  The link_to that
is frustrating me in particular says:  <%= link_to 'View', :controller
=> 'users', :action => 'view' %>

What's happening is that it's going to the Users controller and
attempting to execute the 'show' action (with 'view' passed in as the
id).  But i am specifically requesting it to use the link_to to go to
the 'view' action.  I've tried routing to another controller as well
and that doesn't change it at all.

This is a rails 2.3.8 app if that matters in evaluating my question/
problem.  Any help would be really appreciated.  As an aside, I've
even tried hi-jacking the 'show' action by looking for a params id =
'view' and it fails before it even gets there (so assuming the route
is smart enough to expect a non-string value).

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