search for: mime_type_priority

Displaying 1 result from an estimated 1 matches for "mime_type_priority".

2007 Sep 01
0
Problem with custom Mime::Type.register.
...ation/x-amf content-type. I think I''ve narrowed it down to the actionpack/lib/actioncontroller/mime_responds.rb file. If you look at the "custom" and "render" methods (towards the bottom). the method, "custom" doesn''t ever put the mime_type into the @mime_type_priority array. Which causes the "render" method to never try to "respond_to" for my custom mime type. Does that make sense? Any help would be greatly appreciated.. thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this...