This project is archived and is in readonly mode.

#4025 ✓invalid
Alexander Stanko

rendering rjs partial breaks response content type

Reported by Alexander Stanko | February 21st, 2010 @ 07:09 PM | in 3.0.2

I trying to render _some_partial.rjs in action template (index.html.haml (or .erb)), after that I see html content in browser like simple text, becouse response conteins header: Content-Type: text/javascript; charset=utf-8

Rails 3.0.0.beta1
ruby 1.9.2dev

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages