Rack::NoIE
Added by julioody
at October 11, 2009 23:18
GitHub stats:
watcher(s)
fork(s)
About
rack-noie is the coolest rack middleware ever created. And it is so because it does everyone a favor: it shows the way out of your website to poor souls out there using Internet Explorer 6.
Usage
just
require 'noie' # or 'juliocesar-noie' when i gemify it
and
use NoIE, :redirect => '/noieplease.html'
the above will redirect to a page noieplease.html in your website. You can redirect to a URL as well, like so
use NoIE, :redirect => 'http://slashdot.org'
or let the default kick in
use NoIE
