It was going to the create action even though it said
WorkCommentsController#index

On Thu, Jan 6, 2011 at 02:52, Colin Law <[email protected]> wrote:

> On 6 January 2011 02:16, Me <[email protected]> wrote:
> > The url in the link to remote below does not have the action in the url.
> > Ideas?
> > link_to_remote(comment.text, :url =>
> > {:controller=>'workshop_comments',:action=>'index',:id=>comment}))
>
> The index action is not required in the url as index should be the
> default route (ie http:/mydomain.com/my_controller/ should route to
> my_controller#index)
>
> Colin
>
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

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