sean.ali...@gmail.com wrote: > When I do a js request for this action it renders and returns my > index.html.erb as the response body, even though i have a nice > index.js.erb file. Here's the log:
What about index.rjs instead of index.js.erb? That should work. -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.