On Mon, Nov 19, 2007 at 03:13:11PM +0100, Jonas Pfenniger wrote:
> 2007/11/18, pedro mg <[EMAIL PROTECTED]>:
> > The class is here: http://pastebin.com/f7c92f95a
> 
> Remove the quotes around the regexp on line 5. Right now the
> expression returns nil, which is not an entry in your MIME_TYPES hash.
> Apparently the browser can work around a nil mime-type for the .css
> but not for the pics.

Yes Jonas, thanks, i noticed it almost immediately through IRB testing ;) and
did remove them:

MIME_TYPES[file[(/\.\w+$/)]] || 'text/plain'

best regards,
-- 
pedro mg
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to