Sha256: ccce7f22a5d936b9e2e195bf5b82fd56df39e036abd65cade55b45a1705e0321
Contents?: true
Size: 807 Bytes
Versions: 4
Compression:
Stored size: 807 Bytes
Contents
module Conversations class Engine < Rails::Engine initializer "conversations.load_app_instance_data" do |app| Conversations.setup do |config| config.app_root = app.root end end initializer "conversations.load_static_assets" do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" end initializer "conversations.models.conversationalist" do ActiveSupport.on_load(:active_record) do include Conversations::Models::Conversationalist end end initializer 'conversations.controller' do ActiveSupport.on_load(:action_controller) do # include Conversations::ConversationsController::InstanceMethods # extend Conversations::ConversationsController::ClassMethods end end end end
Version data entries
4 entries across 4 versions & 1 rubygems