Sha256: cb5e44f17e56b74275a17879c6d563ee863ea4ac7ef7c22177d4af0f7b477262
Contents?: true
Size: 483 Bytes
Versions: 7
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true module Rubanok # :nodoc: class Railtie < ::Rails::Railtie # :nodoc: config.to_prepare do |_app| ActiveSupport.on_load(:action_controller) do require "rubanok/rails/controller" ActionController::Base.include Rubanok::Controller end ActiveSupport.on_load(:action_controller_api) do require "rubanok/rails/controller" ActionController::API.include Rubanok::Controller end end end end
Version data entries
7 entries across 7 versions & 1 rubygems