fonts were not served in the locomotive engine

This commit is contained in:
dinedine 2010-12-30 18:15:06 +01:00
parent 99b54d4d1b
commit 83bce13020
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
module Locomotive #:nodoc
VERSION = "0.0.4.beta9"
VERSION = "0.0.4.beta11"
end