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



6
7
8
9
# File 'lib/recorder/rails/controller_concern.rb', line 6

def self.included(base)
  base.before_action :set_recorder_info
  base.before_action :set_recorder_meta
end