Module: Recorder::Rails::ControllerConcern
- Defined in:
- lib/recorder/rails/controller_concern.rb
Overview
Extensions to rails controllers. Provides convenient ways to pass certain information to the model layer, with ‘recorder_meta`.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 |
# File 'lib/recorder/rails/controller_concern.rb', line 8 def self.included(base) base.before_action :set_recorder_info base.before_action :set_recorder_meta end |