Sha256: 6382313e4e40af7909a63921fe7c7d49eef7deded8910db52431b1895a067565
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
module WithPopup class Engine < ::Rails::Engine require 'jquery-rails' config.app_middleware.use 'WithPopup::Rack' initializer 'with_popup.include_modules' do ActiveSupport.on_load :action_controller do include WithPopup::Controller end ActiveSupport.on_load :action_view do include WithPopup::Helpers::FormTagHelper ActionView::Helpers::FormBuilder.class_eval do include WithPopup::Helpers::FormHelper end end end config.generators do |g| g.test_framework :rspec, fixture: false g.assets false g.helper false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
with_popup-0.0.7 | lib/with_popup/engine.rb |
with_popup-0.0.6 | lib/with_popup/engine.rb |