fonts were not served in the locomotive engine
This commit is contained in:
parent
99b54d4d1b
commit
83bce13020
@ -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
|
||||
|
@ -1,3 +1,3 @@
|
||||
module Locomotive #:nodoc
|
||||
VERSION = "0.0.4.beta9"
|
||||
VERSION = "0.0.4.beta11"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user