Module: Dio::Rails::Controller
- Extended by:
- ActiveSupport::Concern
- Includes:
- Dio.use(:default)
- Defined in:
- lib/dio/rails/controller.rb
Overview
Dio::Rails::Controller enables to inject dependencies to Rails controllers. Internally, this just add a ‘before_action` that injects dependencies.