Sha256: edc31ae86ea897a5a4f5b3340dfa4a5170f438958653306c15261e8943479312

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

require 'jitai'
require 'rails'

module Jitai
  class Railtie < Rails::Railtie

    initializer "jitai.initialization" do |app|
      app.middleware.use Jitai::Middleware
    end

    rake_tasks do
      namespace :jitai do
        desc "hack"
        task :refresh do
          Jitai::FontManager.refresh
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jitai-0.2.22 lib/jitai/railtie.rb
jitai-0.2.21 lib/jitai/railtie.rb