Permalink
Browse files

Merge pull request #10 from rmm5t/patch-1

Remove custom mime type configuration from README
  • Loading branch information...
2 parents 8104205 + bdc8d2d commit 31c8d545ea67ecbd715742aefe3faabdbafcbed7 @benlangfeld benlangfeld committed Feb 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -25,9 +25,9 @@ set as :mobile format. It is up to you to determine how you want to handle
these requests. It is also up to you to create the .mobile.erb versions of
your views that are to be requested.
-Then add the line below to config/initializers/mime_types.rb
-
- Mime::Type.register_alias "text/html", :mobile
+Mobile Fu automatically adds a new `:mobile` to `text/html` mime type alias for
+Rails apps. If you already have a custom `:mobile` alias registered in
+`config/initializers/mime_types.rb`, you can remove that.
I recommend that you setup a before_filter that will redirect to a specific page
depending on whether or not it is a mobile request. How can you check this?

0 comments on commit 31c8d54

Please sign in to comment.