Custom Mime Types with Templates

I have added a custom Mime Type for Excel files (xls). I’d like Rails to
know to render these as XML in a “… .builder” view file. How can I
tell Rails to treat the “XLS” extension just like an “XML” request?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs