Sha256: 9fcd187b7c3193fb99d60f4a3f3ace8285d66913c04ce9299e5e179c74201178
Contents?: true
Size: 722 Bytes
Versions: 16
Compression:
Stored size: 722 Bytes
Contents
module Marty class Engine < ::Rails::Engine isolate_namespace Marty # eager load paths instead of autoload paths config.eager_load_paths += ['lib', 'other'].map do |dir| File.expand_path("../../../#{dir}", __FILE__) end # generators add rspec tests config.generators do |g| g.test_framework :rspec, view_specs: false end config.assets.precompile += [ 'marty/application.js', 'marty/cable.js', 'marty/application.css', 'marty/dark_mode.css' ] config.action_cable.disable_request_forgery_protection = true # Can be overriden by config/cable.yml in Rails app ActionCable.server.config.cable ||= { 'adapter' => 'postgresql' } end end
Version data entries
16 entries across 16 versions & 1 rubygems