Sha256: 73bc69d04bf85574ee3761d549390111a9a28d05da144c91f342f43fb7807f98
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true Dry::System.register_component(:controller_helpers, provider: :rails) do init do require "dry/rails/features/controller_helpers" end start do ApplicationController.include(Dry::Rails::Features::ControllerHelpers) if defined?(ActionController::API) ActionController::API.include(Dry::Rails::Features::ControllerHelpers) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dry-rails-0.4.0 | lib/dry/rails/boot/controller_helpers.rb |
dry-rails-0.3.0 | lib/dry/rails/boot/controller_helpers.rb |
dry-rails-0.2.1 | lib/dry/rails/boot/controller_helpers.rb |