Sha256: e7b394e75a0b608bf415694ebe5094e43fb1e3f61058cf4b578ef78da58b1555
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
module PushType module Core class Engine < ::Rails::Engine isolate_namespace PushType engine_name 'push_type' config.generators do |g| g.assets false g.helper false g.test_framework :minitest, spec: true, fixture: false end config.autoload_paths << config.root.join('app', 'fields') config.to_prepare do Rails.application.eager_load! unless Rails.application.config.cache_classes ApplicationController.send :include, PushType::ApplicationControllerMethods end initializer 'push_type.dragonfly_config' do PushType.config.dragonfly_secret ||= Rails.application.secrets.secret_key_base PushType.dragonfly_app_setup! end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
push_type_core-0.2.1 | lib/push_type/core/engine.rb |