Module: Trailblazer::Endpoint::Controller::Rails::DefaultParams

Defined in:
lib/trailblazer/endpoint/controller.rb

Class Method Summary collapse

Class Method Details

.extended(extended) ⇒ Object



82
83
84
# File 'lib/trailblazer/endpoint/controller.rb', line 82

def self.extended(extended)
  extended.directive :options_for_domain_ctx, ->(ctx, controller:, **) { {params: controller.params} }
end