Sha256: af86fb8069c2262fab010e770af7c304ce9174fd488792667fd71c243edab66d
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
module EnvNotifierRails class Railtie < ::Rails::Railtie initializer 'rack_env_notifier.initialize' do |app| Rack::EnvNotifier.message = 'development' Rack::EnvNotifier.notify = Rails.env.development? # Install the Middleware app.config.middleware.use Rack::EnvNotifier end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-env-notifier-0.0.2 | lib/env_notifier_rails/railtie.rb |
rack-env-notifier-0.0.1 | lib/env_notifier_rails/railtie.rb |