nevinera/mobilicious — pull request #1 by zacstewart (2012-08-13 16:02:48+00:00)
Title: Sessionify mobile status and provide when_mobile hook

I needed to add some mobile features to an app and remembered you had this gem. I added a couple features.
* Sets a session cookie so you don't have to keep mobile=1 in the url all the time. Set it to not 1 to demobilize.
* Provides a hook for when the request is mobile. By default, it sets the responds_to type to :mobile so that you can serve up different views. Also adds an alias for the mobile mime-type.