On 6 January 2011 02:16, Me <chabgood@gmail.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment