diff --git a/lib/locomotive/engine.rb b/lib/locomotive/engine.rb index cd02ed29..f34d1a5f 100644 --- a/lib/locomotive/engine.rb +++ b/lib/locomotive/engine.rb @@ -18,7 +18,6 @@ require 'httparty' require 'redcloth' require 'delayed_job_mongoid' require 'zip/zipfilesystem' -# require 'jammit' require 'jammit-s3' $:.unshift File.dirname(__FILE__) @@ -30,5 +29,9 @@ module Locomotive load "railties/tasks.rake" end + initializer "serving fonts" do |app| + app.middleware.insert_after Rack::Lock, '::Locomotive::Middlewares::Fonts', :path => %r{^/fonts} + end + end end diff --git a/lib/locomotive/version.rb b/lib/locomotive/version.rb index 254ce366..daa1e5b5 100644 --- a/lib/locomotive/version.rb +++ b/lib/locomotive/version.rb @@ -1,3 +1,3 @@ module Locomotive #:nodoc - VERSION = "0.0.4.beta9" + VERSION = "0.0.4.beta11" end