hi -

currently .swf files (flash) get served up by Merb as text files.

when these files are just inside the /public/ dir,
there is no controller being called afaik
so not sure where to put the following:

Merb.add_mime_type(:swf, :to_swf, ['application/x-shockwave-flash'])

I tried using before + after filters without luck...
also tried in config/init but no effect.

i wanted to serve these files from merb directly, rather than apache.

tx!

/dc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to