How to add OpenSearch to your Rails app

Add an action: ```ruby def opensearch # fixes Firefox "Firefox could not download the search plugin from:" response.headers["Content-Type"] = 'application/opensearchdescription+xml' render :layout => false end ``` Create the template **opensearch.erb**: ```ruby YerWebberSite YerWebberSite search secks, drogs, rocken roll UTF-8 http://yerwebbersite.com/favicon.ico ``` Add the autodiscovery tag inside the head tag: ```ruby ``` Problems? Read the [documentation and troubleshooting tips](https://developer.mozilla.org/en/creating_opensearch_plugins_for_firefox).