This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit abcea24e9669109ca57bbe87c77c354ac5eb78ec
tree 5afdc6e31836a4955308c5b3fe7ccce5f8a69079
parent 998b78e86adf0b5b55838127bac91823f227460f
tree 5afdc6e31836a4955308c5b3fe7ccce5f8a69079
parent 998b78e86adf0b5b55838127bac91823f227460f
README
XhtmlDev ======== This plugin makes design and development a little better by tweaking the content type of pages generated by Rails. In development mode, it'll automatically serve up HTML pages with the content- type 'application/xhtml+xml' — which means that standards-aware browsers will show an exception page if you enter invalid XHTML markup. Of course, IE6 and friends can't handle that MIME type, so the plugin makes sure that they get the pages as 'text/html.' Also, to more easily deal with user-generated content in the wild, anything coming out of the production environment will also be served as 'text/html.' Example ======= The only thing you have to do to get this running is add a before filter to your application controller: class ApplicationController < ActionController::Base before_filter :handle_with_ie end And even that's optional, if you don't care to serve 'text/html' to IE6, et al. in development mode. Happy hacking! Copyright (c) 2008 Ben Scofield of Viget Labs, released under the MIT license








