diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-13 17:27:00 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-13 17:27:00 -0800 |
commit | 3f821a4cb7b50e542dd7828d1e507b76e18ecfb5 (patch) | |
tree | b86584668b1d5a30e1f560756b0387dcab2e0a29 /lib/metropolis.rb | |
parent | d4c2bb35f17e00c528f0cea722b4695af9076a09 (diff) | |
download | metropolis-3f821a4cb7b50e542dd7828d1e507b76e18ecfb5.tar.gz |
add suffix_mime output filter
It's faster than doing it via real Rack middleware.
Diffstat (limited to 'lib/metropolis.rb')
-rw-r--r-- | lib/metropolis.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/metropolis.rb b/lib/metropolis.rb index 51758b5..284cd30 100644 --- a/lib/metropolis.rb +++ b/lib/metropolis.rb @@ -14,6 +14,7 @@ module Metropolis autoload :Hash, 'metropolis/hash' autoload :TDB, 'metropolis/tdb' autoload :MultiHash, 'metropolis/multi_hash' + autoload :SuffixMime, 'metropolis/suffix_mime' def self.new(opts = {}) opts = opts.dup |