Sha256: e293ea6d50a28915e6e6237d01b095af7c6513e7be5842460163732c1c92c5d6

Contents?: true

Size: 306 Bytes

Versions: 2

Compression:

Stored size: 306 Bytes

Contents

require 'contextify'
require 'rails'

module Contextify
  class Railtie < ::Rails::Railtie
    rake_tasks do
      require "contextify/tasks"
    end

    config.after_initialize do
      Contextify.configure(true) do |config|
        config.logger           ||= ::Rails.logger
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zenbox-0.0.3 lib/contextify/railtie.rb
zenbox-0.0.2 lib/contextify/railtie.rb