Class: Promenade::Client::Rack::RequestControllerActionLabeler
- Inherits:
-
RequestLabeler
- Object
- RequestLabeler
- Promenade::Client::Rack::RequestControllerActionLabeler
- Defined in:
- lib/promenade/client/rack/request_controller_action_labeler.rb
Constant Summary collapse
- PATH_PARAMS_KEY =
"action_dispatch.request.path_parameters".freeze
Instance Method Summary collapse
Methods included from SingletonCaller
#initialize_singleton, #singleton
Instance Method Details
#call(env) ⇒ Object
20 21 22 23 24 |
# File 'lib/promenade/client/rack/request_controller_action_labeler.rb', line 20 def call(env) super.merge({ controller_action: controller_action_from_env(env), }) end |