Ruby on Rails Wednesday, September 29, 2010

sean.alien8@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-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