views:

18

answers:

1

We have a site that is receiving requests for URLs in odd formats (for instance :formats=>[:"application/youtube-client", :"/"])

However, as we don't have this in the app (it's all HTML) how do we handle these requests without returning an error or suchlike. Is there any way of defaulting everything to HTML?

A: 

Your question is too brief for me to fully understand your situation. Do you have any code or illustration?

You might look into the config file

config/initializers/mime_types.rb

It help your application to recognise more type.

OmniBus