Sha256: 4aa6ee05f545293c50131423becb83da5cc06d6bd65d8035dc6e352301f99586
Contents?: true
Size: 385 Bytes
Versions: 13
Compression:
Stored size: 385 Bytes
Contents
require 'petergate/view_helpers' module Petergate class Railtie < Rails::Railtie initializer "petergate.libs" do ActiveSupport.on_load(:action_controller) do ActionController::Base.send(:include, Petergate::ControllerMethods) end ActiveSupport.on_load(:active_record) do User.send(:include, Petergate::ModelMethods) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems