Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#5

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

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

State: new
Milestone: none
Assigned to: nobody

Activity

  1. weyus (at att)
    weyus (at att)

    Sorry guys - I was going off an old blog post. I see the documentation on this on github. Please close.

    April 13th, 2009 @ 05:40 PM

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.