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 'redcloth'
|
||||||
require 'delayed_job_mongoid'
|
require 'delayed_job_mongoid'
|
||||||
require 'zip/zipfilesystem'
|
require 'zip/zipfilesystem'
|
||||||
# require 'jammit'
|
|
||||||
require 'jammit-s3'
|
require 'jammit-s3'
|
||||||
|
|
||||||
$:.unshift File.dirname(__FILE__)
|
$:.unshift File.dirname(__FILE__)
|
||||||
@ -30,5 +29,9 @@ module Locomotive
|
|||||||
load "railties/tasks.rake"
|
load "railties/tasks.rake"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
initializer "serving fonts" do |app|
|
||||||
|
app.middleware.insert_after Rack::Lock, '::Locomotive::Middlewares::Fonts', :path => %r{^/fonts}
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
module Locomotive #:nodoc
|
module Locomotive #:nodoc
|
||||||
VERSION = "0.0.4.beta9"
|
VERSION = "0.0.4.beta11"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user