Forum: Ruby on Rails Custom Mime Types with Templates

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D9d1b31a337f46ac5e4dd56b55404f58?d=identicon&s=25 Dylan Markow (dmarkow)
on 2007-05-22 17:49
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 topic is locked and can not be replied to.