Sha256: 5494d1b8931fcdd89e3c6f34684555b569265f63d08b9028ccb676c94cdc1fbf

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

require 'zenbox'
require 'rails'

module Zenbox
  class Railtie < ::Rails::Railtie
    rake_tasks do
      require "zenbox/tasks"
    end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zenbox-0.0.8 lib/zenbox/railtie.rb
zenbox-0.0.7 lib/zenbox/railtie.rb
zenbox-0.0.6 lib/zenbox/railtie.rb
zenbox-0.0.5 lib/zenbox/railtie.rb
zenbox-0.0.4 lib/zenbox/railtie.rb