Open refaelos opened 12 years ago
+1 in general, although a quick look at the patch shows that it's an api-breaking change. I do like the way you have it, but IMO you should handle the case of passing true
as the option hash for backwards compatibility. That is if anyone notices the patch :)
I changed the code to support backward compatibility.
This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.
See #40.
This fork adds the ability to ignore curtain request formats from being mobilized. You might want to return JSON for :json or :iphone mime types and not let mobile_fu convert your format to :mobile.
Usage example at the end of README.rdoc file.