#5 new
weyus (at att)

Is Mime::Type.register_alias "text/html", :mobile missing from mime_types.rb?

Reported by weyus (at att) | April 13th, 2009 @ 05:24 PM

In order to get mobile_fu completely working - meaning that I can actually serve my .mobile.erb templates for a given request, I had to add:

Mime::Type.register_alias "text/html", :mobile

to my config/initializers/mime_types.rb file.

Should the plugin be adding in this mime type for me?

Wes Gamble

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Want to automatically detect mobile devices that access your Rails application? Mobile Fu allows you to do just that. People can access your site from a Palm, Blackberry, iPhone, Nokia, etc. and it will automatically adjust the format of the request from :html to :mobile.

People watching this ticket

Pages