Module: Protocolist::ControllerAdditions::Initializer

Extended by:
ActiveSupport::Concern
Included in:
Protocolist::ControllerAdditions
Defined in:
lib/protocolist/controller_additions/initializer.rb

Instance Method Summary collapse

Instance Method Details

#initialize_protocolistObject



10
11
12
13
# File 'lib/protocolist/controller_additions/initializer.rb', line 10

def initialize_protocolist
  Protocolist.actor = current_user
  Protocolist.activity_class = Activity
end