Sha256: 0cbc9c95ffbf653a6f6c0e7e432172840cba453489871335555d3ab904624f04
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
require 'hocus_pocus/recorder/middleware' module HocusPocus module Recorder class Engine < ::Rails::Engine isolate_namespace HocusPocus::Recorder initializer 'hocus_pocus.recorder.add middleware' do |app| if HocusPocus.config.enable_scenario_recorder app.middleware.insert HocusPocus::Middleware, HocusPocus::Recorder::Middleware app.config.assets.precompile += %w(recorder.js recorder.css) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hocus_pocus-0.4.1 | engines/recorder/lib/hocus_pocus/recorder/engine.rb |
hocus_pocus-0.4.0 | engines/recorder/lib/hocus_pocus/recorder/engine.rb |