Sha256: c74a081bebeaaa904dc053890091703e27bc74c96c3461dbcf07f50052c0d334
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
require 'rails/railtie' module Draper class Railtie < Rails::Railtie initializer "draper.extend_action_controller_base" do |app| ActiveSupport.on_load(:action_controller) do Draper::System.setup(:action_controller) end end initializer "draper.extend_action_mailer_base" do |app| ActiveSupport.on_load(:action_mailer) do Draper::System.setup(:action_mailer) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
draper-0.11.1 | lib/draper/railtie.rb |
draper-0.11.0 | lib/draper/railtie.rb |