Sha256: 87dadf5f893fc027015a64426da6399b3836d817d6a0985ed0bb6ca2cd3cd7e7
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
module Draper class System def self.setup ActionController::Base.send(:include, Draper::ViewContextFilter) if defined?(ActionController::Base) ActionMailer::Base.send(:include, Draper::ViewContextFilter) if defined?(ActionMailer::Base) ActionController::Base.send(:helper, Draper::HelperSupport) if defined?(ActionController::Base) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
draper-0.10.0 | lib/draper/system.rb |
draper-0.9.5 | lib/draper/system.rb |